#include <PerfData.h>
Public Member Functions | |
CPerfCounter (CPerfObject *object, CPerfData::CounterId counterId, LPCWSTR name, LPCWSTR help, DWORD detailLevel, DWORD defaultScale, DWORD type, CPerfData::CounterId counterIdParent=0) | |
Constructs a new performance counter. | |
void | setNext (CPerfCounter *next) |
Set the next performance counter in the chain. | |
void | setTitleInfo (DWORD counterTitleIndex, DWORD helpTitleIndex) |
Set the title indexes for the counter. | |
DWORD | getIndex () const |
Get the index of this counter. | |
CPerfData::CounterId | getId () const |
Get the id of this counter. | |
CPerfCounter * | getNext () const |
Get the next counter in the chain. | |
LPCWSTR | getName () const |
Get the title of this counter. | |
LPCWSTR | getHelp () const |
Get the help (explain) text for the counter. | |
DWORD | getDetailLevel () const |
Get the detail level for this counter. | |
DWORD | getDefaultScale () const |
Get the default scale for this counter. | |
DWORD | getType () const |
Get the type of this counter. | |
CPerfData::CounterId | getParentCounter () const |
Get the parent of this counter. | |
bool | shared () const |
See if this counter shares data with a parent. |
|
Constructs a new performance counter.
|
|
Set the next performance counter in the chain.
|
|
Set the title indexes for the counter.
|