# Class CIM_SWRStatistics
extends CIM_StatisticalData

This is base class for the software resource statistics. Depending on the implementation it can be of six types that identify the unit type (technical or domain-specific) and the behavioral characteristic of the software resource (allocation, input or output). The statistics is also the place at which the corresponding operational settings of the software resource appear. These parameters are changeable on-the-fly (i.e., they are writable). They bear the same constraints regarding their interdependencies between technical and domain-specific units as SWRLimitSettings. Point metrics apply to the point in time of end of the sample, interval metrics apply to the sample interval. It is up to the implementation of the statistcs whether the sample interval ends at the point in time of the request of the instance of this class (working with internal ring buffers) or whether the underlying instrumentation autonomously determines the beginning and the end of the sample interval. SWRStatistics is associated to SoftwareResource via ElementStatisticalData. In general, one software resource is expected to have three statistics. The statistics type covers each behavior characteristics at most once. I.e., the software resource has at most one allocation statistcs, one input statistics and one output statistics. Nevertheless, the implementation of the software resource may exhibit more statistics SWRStatistics instances that cover more context-specific behavior characteristics.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_StatisticalData
|
+--CIM_SWRStatistics

## Direct Known Subclasses

CIM_SWRAllocationStatistics
CIM_SWRIOStatistics

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | This is base class for the software resource statistics. Depending on the implementation it can be of six types that identify the unit type (technical or domain-specific) and the behavioral characteristic of the software resource (allocation, input or output). The statistics is also the place at which the corresponding operational settings of the software resource appear. These parameters are changeable on-the-fly (i.e., they are writable). They bear the same constraints regarding their interdependencies between technical and domain-specific units as SWRLimitSettings. Point metrics apply to the point in time of end of the sample, interval metrics apply to the sample interval. It is up to the implementation of the statistcs whether the sample interval ends at the point in time of the request of the instance of this class (working with internal ring buffers) or whether the underlying instrumentation autonomously determines the beginning and the end of the sample interval. SWRStatistics is associated to SoftwareResource via ElementStatisticalData. In general, one software resource is expected to have three statistics. The statistics type covers each behavior characteristics at most once. I.e., the software resource has at most one allocation statistcs, one input statistics and one output statistics. Nevertheless, the implementation of the software resource may exhibit more statistics SWRStatistics instances that cover more context-specific behavior characteristics.
Experimental | boolean | true
UMLPackagePath | string | CIM::Application::SWResources
Version | string | 2.8.1000

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
Characteristic | uint16 |
Description | string | Characteristic allows for the distinction of the software resource behavior characteristics. This is either the allocation, input and output. Values: Allocation: Statistics about the size of the software resource. Input: Statistics about the data transfer into the software resource. Output: Statistics about the data transfer from the software resource.
ValueMap | string | 0, 2, 3, 4, 5..32767, 32768..65535
Values | string | Unknown, Allocation, Input, Output, DMTF Reserved, Vendor Reserved
ErrorCount | uint32 |
Description | string | ErrorCount is the count of errors that have been detected throughout the sample interval.
FirstError | uint16 |
Description | string | This is the error code of the first error that occurs during the sample interval. It is assumed that the first error, detected throughout the sample interval, is the first symptom of the root cause and therefore closer than the last error. Unrelated, subsequent errors during the sample interval of the statistics do not show up. Such a behavior is tolerable compared to the relatively short length of the sample interval. Values: Unspecified Error: No error code can be determined. Violate Upper Limit: The upper limit of the behavior characteristic (allocation, input, output) was exceeded. Violate Lower Limit: The lower limit was underrun. Erroneous Transfer: The transfer had to be aborted. This message does not overlap with 'Erroneous Item'. Erroneous Item: The handling of at least one item was problematic and the item had to be dropped, suspended or rejected. Access to Software Resource Denied: The access control of software resource refused the use of the it.
ValueMap | string | 0, 2, 3, 4, 5, 6, 7..32767, 32768..65535
Values | string | Unspecified Error, Violate Upper Limit, Violate Lower Limit, Erroneous Transfer, Erroneous Item, Access to Software Resource Denied, DMTF Reserved, Vendor Reserved
FirstErrorTimeStamp | datetime |
Description | string | FirstErrorTimeStamp is the point in time at which FirstError was detected.
LastError | uint16 |
Description | string | This is the error code of the last error that occured. The value of LastError remains from one sample interval to the next even if a sample interval is error-free. Values: Unspecified Error: No error code can be determined. Violate Upper Limit: The upper limit of the behavior characteristic (allocation, input, output) was exceeded. Violate Lower Limit: The lower limit was underrun. Erroneous Transfer: The transfer had to be aborted. This message does not overlap with 'Erroneous Item'. Erroneous Item: The handling of at least one item was problematic and the item had to be dropped, suspended or rejected. Access to Software Resource Denied: The access control of software resource refused the use of the it.
ValueMap | string | 0, 2, 3, 4, 5, 6, 7..32767, 32768..65535
Values | string | Unspecified Error, Violate Upper Limit, Violate Lower Limit, Erroneous Transfer, Erroneous Item, Access to Software Resource Denied, DMTF Reserved, Vendor Reserved
LastErrorTimeStamp | datetime |
Description | string | LastErrorTimeStamp is the point in time at which FirstError was detected.
LowerLimit | uint32 |
Description | string | This is an operational lower limit parameter of the software resource. The limit applies to input, output or allocation according to the statistics type. The corresponding unit is found at the property Unit. A null value indicates that no lower limit exists. The property value can be modified. Whether changes are persisted on saving the modification depends on the implementation of the software resource. The default behavior is no persistence.
ModelCorrespondence | string | CIM_SWRLimitSetting.LowerInputLimit, CIM_SWRLimitSetting.LowerOutputLimit, CIM_SWRLimitSetting.LowerAllocationLimit
Write | boolean | true
OtherLowerLimit | uint32 |
Description | string | This property is not null, if the operational lower limit parameter of the software resource can be calculated from the property LowerLimit. If LowerLimit is described by technical units (i.e., InputUnit applies to the technical domain), OtherLowerLimit is described by domain-specific units.
OtherUnit | string |
Description | string | This is the complementary unit of the operational limit parameters. If Unit is a unit of the technical domain, OtherUnit is a domain-specific unit.
OtherUpperLimit | uint32 |
Description | string | This property is not null, if the operational upper limit parameter of the software resource can be calculated from the property UpperLimit. If UpperLimit is described by technical units (i.e., InputUnit applies to the technical domain), OtherUpperLimit is described by domain-specific units.
StatisticsType | uint16 | 2
Description | string | StatisticsType describes whether the statistics is specified in terms of technical units or domain-specific units. Domain-specific is meant to be the items unit or 'business' unit of the usage the software resource. It may range from objects or tables (in a buffer) to orders in a queue. It depends on the implementation and usage context of the software resource. The default is the technical domain. Values: Technical: The writable operational parameters and the affected metrics are assigned a technical unit e.g Kilobytes. Domain-Specific: The writable operational parameters and the affected metrics are assigned a business-like, item-oriented unit e.g messages, objects, orders, etc..
ValueMap | string | 0, 2, 3, 4..32767, 32768..65535
Values | string | Unknown, Technical, Domain-Specific, DMTF Reserved, Vendor Reserved
Unit | string | kB
Description | string | This is the unit of the numeric metrics and the set of upper and lower limits of the software resource. The property should always have a value, null should not appear.The property value is read-only and assumed to correspond to the implementation of the software resource to which the operational parameters and metrics apply. The default value is of the technical domain (Kilobytes).
ModelCorrespondence | string | CIM_SWRLimitSetting.InputUnit, CIM_SWRLimitSetting.OutputUnit, CIM_SWRLimitSetting.AllocationUnit
UpperLimit | uint32 |
Description | string | This is an operational upper limit parameter of the software resource. The limit applies to input, output or allocation according to the statistics type. The corresponding unit is found at the property Unit. A null value indicates that no upper limit exists. The property value can be modified. Whether changes are persisted on saving the modification depends on the implementation of the software resource. The default behavior is no persistence.
ModelCorrespondence | string | CIM_SWRLimitSetting.UpperInputLimit, CIM_SWRLimitSetting.UpperOutputLimit, CIM_SWRLimitSetting.UpperAllocationLimit
Write | boolean | true

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
Description | string | CIM_ManagedElement
ElementName | string | CIM_StatisticalData
Generation | uint64 | CIM_ManagedElement
InstanceID | string | CIM_StatisticalData
RateIntervalEndTime | datetime | CIM_StatisticalData
RateIntervalStartTime | datetime | CIM_StatisticalData
SampleInterval | datetime | CIM_StatisticalData
StartStatisticTime | datetime | CIM_StatisticalData
StatisticTime | datetime | CIM_StatisticalData

## Class Methods

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
ResetSelectedStats | uint32 | CIM_StatisticalData