Use the counter element to define a counter.
<counter id = "Integer" symbol = "String" uri = "String" name = "String" description = "String" type = "String" baseID = "Integer" detailLevel = "String" defaultScale = " Integer" aggregate = "String" perfTimeID = "Integer" perfFreqID = "Integer" > child elements </counter>
The aggregation function to apply if the instances attribute of counterSet is globalAggregate, multipleAggregate, or globalAggregateHistory.
The following are the possible aggregation functions that you can apply:
The identifier of another counter within the same counter set, whose value is used to calculate this counter's value.
The following counter types require a base counter.
The scale factor to apply to the counter value (factor * counter value). The default is zero if no scale is applied. Valid values range from -10 to 10 (0.0000000001 - 1000000000). If this value is zero, the scale value is 1; if this value is 1, the scale value is 10; if this value is –1, the scale value is .10; and so on.
A short description of the counter. You do not have to specify this attribute if the counter includes the noDisplay attribute.
Specifies the target audience for the counter details.
Possible values are:
A unique number that identifies the counter within the counter set.
The name of the counter. Must be less than 1,024 characters. The name is case-sensitive.
You do not have to specify this attribute if the counter includes the noDisplay attribute.
The identifier of another counter within the same counter set, whose frequency value is used to calculate this counter's value.
The following counter types require a frequency. The PERF_COUNTER_LARGE_RAWCOUNT counter type contains the time stamp value.
The identifier of another counter within the same counter set, whose time stamp value is used to calculate this counter's value.
The following counter types require a time stamp. The PERF_COUNTER_LARGE_RAWCOUNT counter type contains the time stamp value.
A symbolic name that identifies the counter. The CTRPP tool creates a constant that you can use when calling functions that require a counter identifier (for example, PerfIncrementULongCounterValue). The name of the constant is the symbolic name.
The name of the counter type. For a list of possible counter types, see Counter Types in the Windows 2003 Deployment Guide. The name is case-sensitive—use lowercase.
A unique uniform resource identifier that lets users retrieve counter values from any location.
Groups one or more attributes that specifies how the counter data is retrieved from the counter and how it is displayed in a consumer application.
Child Element Sequence
Counter set to which this counter belongs.
To provide backwards-compatibility, each counter in the counter set should specify the same perfFreqID and perfTimeID values.
|Can be empty||Yes|
Build date: 10/15/2009