Performance Libraries and WMI
The WMIPerfClass Provider and the WMIPerfInst Provider dynamically provide performance counter data for the WMI Performance Counter Classes.
WMIPerfClass and WMIPerfInst Providers
WMIPerfClass Provider creates WMI Performance Counter Classes at system initialization. The WMIPerfInst Provider dynamically provides performance counter data for these classes. The WMIPerfClass Provider provider supplies classes for both version 1 and version 2 Performance Counters.
Version 1 counters are found in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. Services that provide performance data have a Performance subkey. WMI performance classes created from version 1 counters do not have "Counters" as part of their name.
The GUIDs identifying a version 2 performance counter provider are found in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\_V2Providers.
WMIPerfClass is registered as a normal WMI class provider. WMIPerfInst is a WMI instance provider that supplies data from Performance Data Helper (PDH) for both version 1 and version 2 counters. For more information, see Using the PDH Functions to Consume Counter Data.
Related topics
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για