TestToolBox::PerformanceDataSet Class Reference

Class wrapping access to performance counters via PDH.DLL. For more info about usage see Using PerformanceDataSet. More...

#include <PerformanceDataSet.h>

Collaboration diagram for TestToolBox::PerformanceDataSet:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Class wrapping access to performance counters via PDH.DLL. For more info about usage see Using PerformanceDataSet.


The documentation for this class was generated from the following file:
Generated on Fri May 27 22:56:57 2011 for TestToolBox by  doxygen 1.6.3