Providing Counter Data Using a Performance DLL

[The method for providing performance counter data that this topic describes may be altered or unavailable in the future. Instead, Microsoft recommends that you use the method described in Providing Counter Data Using Version 2.0 for creating new performance counters, and that you migrate existing performance counters to use that method as well.]

A service, driver, or application that wants to provide counter data can write a performance DLL to provide the data. When a consumer queries performance data, the system calls the provider to collect the data. For details on writing the performance DLL, see Creating a Performance Extension DLL.

The system uses the registry to determine which provider to call. For information on registering your provider and the counters that it supports, see Adding Performance Counters.

You can use a performance DLL to provide counter data for all supported operating systems.

 

 

Show: