Performance Counter (Windows)

from Wikipedia, the free encyclopedia
Performance counter under Windows 8

Performance counters , also known as Performance Data Helper ( PDH ), are time-dependent measured values ​​managed by Microsoft Windows that are used for instrumentation .

The measured values ​​are used to determine the performance of software applications on a given hardware platform. With the help of the performance counter, software developers and administrators can determine problems in program components or the hardware and plan an optimization.

The measured values ​​can be evaluated automatically by applications. By default, this would be the Performance Monitor . The target group are C and C ++ developers.

Event tracing for Windows

Performance counters have been replaced in Windows Vista by Event Tracing for Windows (ETW), but are still supported. The Performance Counter Library ( perflib ) offers a facade to provide performance counter events as ETW events.

literature

Web links

Individual evidence

  1. hickeys: Performance Counters - Windows applications. Retrieved July 25, 2019 (American English).
  2. ^ Developing with Performance Counters. In: Windows Dev Center. Microsoft, accessed May 2, 2017 .