Class wrapping access to performance counters via PDH.DLL. For more info about usage see Using PerformanceDataSet. More...
#include <PerformanceDataSet.h>
Public Member Functions | |
bool | InitPerfCounters (PerfCounterNames in_counterNames) |
Initialize all counter names and try to register them If something went wrong return false. | |
PerfCounterValues | GetCurrentCounterValues (void) |
Get the current values for all counters defined by InitPerfCounters. | |
Protected Attributes | |
HQUERY | m_hQuery |
Handle to the query for performance data. | |
HCOUNTER * | m_phCounter |
Pointer to array of counter handles. | |
PerfCounterNames | m_perfCounterFullNames |
Vector of performance counter names. | |
bool | m_initFailed |
Flag indicating if the initialization has failed. |
Class wrapping access to performance counters via PDH.DLL. For more info about usage see Using PerformanceDataSet.