Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 2.04 KB

performance-libraries-and-wmi.md

File metadata and controls

36 lines (23 loc) · 2.04 KB
description ms.assetid ms.tgt_platform title ms.topic ms.date
The WMIPerfClass Provider and the WMIPerfInst Provider dynamically provide performance counter data for the WMI Performance Counter Classes.
8bf6d218-9a31-4efd-a809-222aca364138
multiple
Performance Libraries and WMI
article
05/31/2018

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

About WMI

Monitoring Performance Data