1 karl 1.1.2.2 // Copyright (c) 2005 DMTF. All rights reserved.
2 // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
3 // qualifier values to CIM Schema.</change>
4 // ==================================================================
5 // CIM_MediaAccessStatInfo
6 // ==================================================================
7 [Version ( "2.6.0" ),
8 UMLPackagePath ( "CIM::Device::StorageDevices" ),
9 Description (
10 "Statistics related to reading and writing at a specific "
11 "MediaAccessDevice, or for a specific StorageExtent. Although "
12 "the same class is used to represent this data, at the instance "
13 "level the object holds information for the MediaAccessDevice "
14 "(independent of the StorageExtent), OR for the Extent "
15 "(independent of its AccessDevice). Note that this class models "
16 "the same properties as MediaAccessStatData. The latter, "
17 "however, uses the simplified key mechanisms of the "
18 "StatisticalData class." )]
19 class CIM_MediaAccessStatInfo : CIM_DeviceStatisticalInformation {
20
21 [Description ( "The number of attempted read operations." ),
22 karl 1.1.2.2 Counter]
23 uint64 ReadOperations;
24
25 [Description ( "The number of unrecoverable read operations." ),
26 Counter]
27 uint64 UnrecoverableReadOperations;
28
29 [Description ( "The number of attempted write operations." ),
30 Counter]
31 uint64 WriteOperations;
32
33 [Description ( "The number of unrecoverable write operations." ),
34 Counter]
35 uint64 UnrecoverableWriteOperations;
36
37 [Description ( "The number of recovered read operations." ),
38 Counter]
39 uint64 RecoveredReadOperations;
40
41 [Description ( "The number of recovered write operations." ),
42 Counter]
43 karl 1.1.2.2 uint64 RecoveredWriteOperations;
44
45 [Description ( "The number of recovered seek operations." ),
46 Counter]
47 uint64 RecoveredSeekOperations;
48
49 [Description ( "The number of unrecoverable seek operations." ),
50 Counter]
51 uint64 UnrecoverableSeekOperations;
52
53
54 [Description (
55 "Method to reset the statistical counters. The method "
56 "takes one parameter as input - an integer indicating "
57 "which counter to reset. For this input parameter, 0 "
58 "indicates all, 1-2 and 5 reset the \'read "
59 "operation\'-related counters, 3-4 and 6 reset the \'write "
60 "operation\'-related counters, and 7-8 reset the "
61 "seek-related counters. The method returns 0 if "
62 "successful, 1 if not supported, and any other value if "
63 "an error occurred. A method is specified so that the "
64 karl 1.1.2.2 "Device\'s instrumentation can also reset its internal "
65 "processing and counters. \n"
66 "In a subclass, the set of possible return codes should "
67 "be specified in a ValueMap qualifier on the method. The "
68 "strings to which the ValueMap contents are \'translated\' "
69 "can be specified as a Values array qualifier." )]
70 uint32 ResetCounter(
71 [IN, Description ( "The counter to reset." ),
72 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8" },
73 Values { "All", "Read Operations",
74 "Unrecoverable Read Operations", "Write Operations",
75 "Unrecoverable Write Operations",
76 "Recovered Read Operations",
77 "Recovered Write Operations", "Recovered Seeks",
78 "Unrecoverable Seeks" }]
79 uint16 SelectedCounter);
80
81 };
|