1 marek 1.1 // Copyright (c) 2007 DMTF. All rights reserved.
2 [Version ( "2.7.0" ),
3 UMLPackagePath ( "CIM::Metrics::UnitOfWork" ),
4 Description (
5 "The metrics that are associated with a UnitOfWork. These "
6 "metrics usually describe some aspect of a UnitOfWork such as "
7 "how much work was done, or the size of the UnitOfWork. For "
8 "example, the size of a print job or the number of pages "
9 "printed could be metrics of a \'print\' UnitOfWork." )]
10 class CIM_MetricDefinition : CIM_BaseMetricDefinition {
11
12 [Override ( "Id" ),
13 Description (
14 "A 16 byte value that uniquely identifies the Metric "
15 "Definition. The use of OSF UUID/GUIDs is recommended." ),
16 MaxLen ( 16 )]
17 string Id;
18
19 [Description (
20 "An enumerated value describing when the Metric may be "
21 "considered valid. Some metrics are valid only at the "
22 marek 1.1 "beginning of a transaction (e.g., bytes to print), while "
23 "the transaction is running (e.g., percent complete), or "
24 "when the transaction is finished (e.g., pages printed). "
25 "If a metric is valid at more than one of the enumerated "
26 "values, such as both when the unit of work starts and "
27 "when it stops, it is recommended to not use Validity." ),
28 ValueMap { "1", "2", "3" },
29 Values { "At Start", "In Middle", "At Stop" }]
30 uint16 Validity;
31
32
33 };
|