#include <C4Stat.h>
Public Member Functions | |
C4Stat (const char *strName) | |
~C4Stat () | |
void | Start () |
void | Stop () |
void | Reset () |
void | ResetPart () |
Static Public Member Functions | |
static C4MainStat * | getMainStat () |
Protected Attributes | |
C4Stat * | pNext |
C4Stat * | pPrev |
C4TimeMilliseconds | tStartTime |
unsigned int | iStartCalled |
uint32_t | tTimeSum |
unsigned int | iCount |
uint32_t | tTimeSumPart |
unsigned int | iCountPart |
const char * | strName |
bool | bRegistred |
Friends | |
class | C4MainStat |
C4Stat::C4Stat | ( | const char * | strName | ) |
Definition at line 164 of file C4Stat.cpp.
References getMainStat(), C4MainStat::RegisterStat(), and Reset().
C4Stat::~C4Stat | ( | ) |
Definition at line 171 of file C4Stat.cpp.
References getMainStat(), and C4MainStat::UnRegStat().
|
static |
Definition at line 192 of file C4Stat.cpp.
References C4MainStat.
Referenced by C4Stat(), and ~C4Stat().
void C4Stat::Reset | ( | ) |
Definition at line 176 of file C4Stat.cpp.
References iCount, iStartCalled, ResetPart(), and tTimeSum.
Referenced by C4Stat().
void C4Stat::ResetPart | ( | ) |
Definition at line 186 of file C4Stat.cpp.
References iCountPart, and tTimeSumPart.
Referenced by Reset().
|
inline |
Definition at line 57 of file C4Stat.h.
References iCount, iCountPart, iStartCalled, C4TimeMilliseconds::Now(), and tStartTime.
|
inline |
Definition at line 66 of file C4Stat.h.
References iCount, iStartCalled, C4TimeMilliseconds::Now(), tStartTime, tTimeSum, and tTimeSumPart.
|
friend |
Definition at line 51 of file C4Stat.h.
Referenced by getMainStat().
|
protected |
|
protected |
Definition at line 110 of file C4Stat.h.
Referenced by ResetPart(), C4MainStat::ShowPart(), and Start().
|
protected |
|
protected |
Definition at line 87 of file C4Stat.h.
Referenced by C4MainStat::RegisterStat(), C4MainStat::Reset(), C4MainStat::ResetPart(), C4MainStat::Show(), C4MainStat::ShowPart(), and C4MainStat::UnRegStat().
|
protected |
Definition at line 88 of file C4Stat.h.
Referenced by C4MainStat::RegisterStat(), and C4MainStat::UnRegStat().
|
protected |
Definition at line 114 of file C4Stat.h.
Referenced by C4MainStat::Show(), and C4MainStat::ShowPart().
|
protected |
|
protected |
Definition at line 99 of file C4Stat.h.
Referenced by Reset(), C4MainStat::Show(), and Stop().
|
protected |
Definition at line 107 of file C4Stat.h.
Referenced by ResetPart(), C4MainStat::ShowPart(), and Stop().