Performance Counter (Windows)

Performance Counter unter Windows 8

Performance Counter, auch bekannt als Performance Data Helper (PDH), sind vom Betriebssystem Windows verwaltete zeitabhängige Messwerte, welche zur Instrumentierung dienen.

Die Messwerte dienen dazu, die Performance von Softwareanwendungen auf einer gegebenen Hardwareplattform zu ermitteln. Mit Hilfe der Performance Counter können Softwareentwickler und Administratoren Probleme in Programmbestandteilen oder der Hardware ermitteln und eine Optimierung planen.

Die Messwerte können durch Anwendungen automatisch ausgewertet werden. Standardmäßig wäre dies etwa der Performance Monitor. Die Zielgruppe sind dabei C und C++ Entwickler.[1]

Event Tracing for Windows

Performance Counter wurden in Windows Vista durch Event Tracing for Windows (ETW) abgelöst, werden aber weiterhin unterstützt. Die Performance Counter Library (perflib) bietet hierzu eine Fassade an, um Performance Counter-Ereignisse als ETW-Events bereitzustellen.[2]

Literatur

Einzelnachweise

  1. hickeys: Performance Counters - Windows applications. Abgerufen am 25. Juli 2019 (amerikanisches Englisch).
  2. Developing with Performance Counters. In: Windows Dev Center. Microsoft, abgerufen am 2. Mai 2017 (englisch).

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.