# Timer Algorithm Counter Types

Timer algorithm counter types are based on the amount of increased use of the performance object over a sample period. The counter data is an increasing quantum measure of the total activity for an object up to the time that the sample takes place. The difference between the two samples indicates the total time that the object is active during the sample time period.

Dividing by the sample period results in a proportion of time that the object is active during a time period. Dividing by the number of internal polling interrupts determines the average use between polling samples.

For example, the **AvgDiskSecPerRead** property in the
**Win32_PerfRawData_PerfDisk_PhysicalDisk** class uses the **PERF_AVERAGE_TIMER** countertype. It calculates the average time in seconds of a read of data from the disk, and requires the base property **AvgDiskSecPerRead_Base**. Unlike **PERF_COUNTER_TIMER**, the average timer base represents an accumulating number of operations, and the counter data is a running time value, which means that when divided by the time base, it yields the total time of all operations in seconds.

Counter Type Constant | Description |
---|---|

Decimal 541132032 |
Average time that a component is active as a percentage of the total sample time. |

Decimal 557909248 |
Average percentage of time observed during sample interval that the object is not active. This counter type is the same as |

Decimal 805438464 |
Average time to complete a process or operation. This counter type displays a ratio of the total elapsed time of the sample interval to the number of processes or operations completed during that time. This counter type requires a base property with |

Decimal 542180608 |
Active time of one component as a percentage of the total elapsed time in units of 100ns of the sample interval. |

Decimal 558957824 |
Percentage of time the object was not in use. This counter type is the same as |

Decimal 574686464 |
Active time of one or more components as a percentage of the total time of the sample interval. This counter type differs from This counter type requires a base property with the |

Decimal 591463680 |
Inactive time of one or more components as a percentage of the total time of the sample interval. This counter type differs from This counter type requires a base property with the |

Decimal 575735040 |
This counter type shows the active time of one or more components as a percentage of the total time (100ns units) of the sample interval. This counter type requires a base property with the |

Decimal 592512256 |
Inactive time of one or more components as a percentage of the total time of the sample interval. Counters of this type measure time in 100ns units. This counter type requires a base property with the |

Decimal 543229184 |
A 64-bit timer in object-specific units. |

## Related topics