Performance Counter (Windows)
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
- Mark Russinovich , David Solomon, Alex Ionescu: Windows Internals, Part 2 (Developer Reference) . 6th edition. Microsoft Press, 2012, ISBN 978-0-7356-6587-3 , pp. 190 ff . (English).
- Ben Watson: Writing High-Performance .NET Code . 2014, ISBN 978-0-9905834-3-1 , pp. 227 ff . (English).
Web links
- Performance counters. In: MSDN . Microsoft , accessed August 4, 2014 .
- Performance Counters in the .NET Framework. In: MSDN. Microsoft, accessed August 4, 2014 .
Individual evidence
- ↑ hickeys: Performance Counters - Windows applications. Retrieved July 25, 2019 (American English).
- ^ Developing with Performance Counters. In: Windows Dev Center. Microsoft, accessed May 2, 2017 .