PyPERF_COUNTER_DEFINITION Object

An object encapsulating a Windows NT Performance Monitor counter definition (PERF_COUNTER_DEFINITION).

Comments

Note that all the counter "set" functions will silently do nothing if the counter does not appear in a block. This is so the application can avoid excessive tests for lack of performance monitor functionality. However, the method PyPERF_COUNTER_DEFINITION::Get will raise a ValueError exception in this case.

Methods

Increment
Increments the value of the performance counter 

Decrement
Decrements the value of the performance counter 

Set
Sets the counter to a specific value 

Get
Gets the current value of the counter 

Properties

integer DefaultScale
The default scale of the counter.

integer DetailLevel
The detail level of the counter.

integer CounterType
The counter type.

integer CounterNameTitleIndex

integer CounterHelpTitleIndex
Sentinel