counterSet Complex Type
Defines a list of counters that are logically related.
<xs:complexType name="counterSet">
<xs:sequence>
<xs:element name="structs"
type="man:structs"
minOccurs="0"
maxOccurs="1"
/>
<xs:element name="counter"
type="man:counter"
minOccurs="1"
maxOccurs="unbounded"
/>
</xs:sequence>
<xs:attribute name="symbol"
type="man:CSymbolType"
use="required"
/>
<xs:attribute name="guid"
type="man:GUIDType"
use="required"
/>
<xs:attribute name="uri"
type="xs:anyURI"
use="required"
/>
<xs:attribute name="name"
use="required"
>
<xs:simpleType>
<xs:restriction
base="xs:string"
>
<xs:maxLength
value="1023"
/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="description"
type="xs:string"
use="required"
/>
<xs:attribute name="instances"
use="optional"
default="single"
>
<xs:simpleType>
<xs:restriction
base="xs:string"
>
<xs:enumeration
value="single"
/>
<xs:enumeration
value="multiple"
/>
<xs:enumeration
value="globalAggregate"
/>
<xs:enumeration
value="multipleAggregate"
/>
<xs:enumeration
value="globalAggregateHistory"
/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
Child elements
Element | Type | Description |
---|---|---|
counter | man:counter | Defines a counter that the provider provides. |
structs | man:structs | A list of struct elements that contain values for the counters defined in this counter set. |
Attributes
Name | Type | Description |
---|---|---|
description | xs:string | A short description of the counter set. |
guid | man:GUIDType | A GUID that uniquely identifies the counter set. The counter set registration fails if the GUID is already registered. To update a counter set that is registered, you must first uninstall the counter set and then register it again. |
instances | Determines whether the counter set can contain multiple instances. The following lists the possible values:
|
|
name | The display name of the counter set. Must be less than 1,024 characters. The name is case-sensitive. |
|
symbol | man:CSymbolType | A symbolic name that identifies the counter set. The CTRPP tool creates a GUID variable that you can use when calling functions that require the counter set GUID (for example, PerfCreateInstance). The variable name is of the form, symbolicnameGuid. If you include the -prefix argument when calling CTRPP, the prefix string is added to the beginning of the symbolic name. |
uri | xs:anyURI | A unique uniform resource identifier that lets users access the counters in the counter set from any location. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for