Performance DLL Samples
The Platform SDK contains three sample performance DLL projects. These projects are located in the Samples\WinBase\WinNT\PerfTool\PerfDllS directory. The root of this path is the base installation directory of the Platform SDK.
The projects contained in this directory are:
- AppMem—Provides counterparts of the GlobalAlloc, GlobalReAlloc, and GlobalFree functions that report performance information.Performance counters in the registry and the Performance Monitor can read the performance information.
- LeakyBin—Demonstrates the use of application performance counters.
- PerfGen—Provides three waveforms at five different periods for use with the Performance Monitor to provide data at a known rate and value. This can be useful in testing applications that use performance data and need predictable values to test against.