#include <C4Stat.h>
Definition at line 24 of file C4Stat.h.
◆ C4MainStat()
C4MainStat::C4MainStat |
( |
| ) |
|
|
default |
◆ ~C4MainStat()
C4MainStat::~C4MainStat |
( |
| ) |
|
|
default |
◆ RegisterStat()
void C4MainStat::RegisterStat |
( |
C4Stat * |
pStat | ) |
|
|
protected |
◆ Reset()
void C4MainStat::Reset |
( |
| ) |
|
◆ ResetPart()
void C4MainStat::ResetPart |
( |
| ) |
|
◆ Show()
void C4MainStat::Show |
( |
| ) |
|
Definition at line 81 of file C4Stat.cpp.
85 unsigned int iCnt = 0;
92 auto* bHS =
new bool[
iCnt];
96 for (ii=0; ii<
iCnt; ii++) bHS[ii] =
false;
97 for (i=0; i<
iCnt; i++)
99 C4Stat* pBestStat =
nullptr;
100 unsigned int iBestNr = ~0;
117 if (iBestNr == (
unsigned int) -1)
121 StatArray[i] = pBestStat;
129 for (i=0; i<
iCnt; i++)
136 pAkt->strName, pAkt->iCount, pAkt->tTimeSum,
137 double(pAkt->tTimeSum) / pAkt->iCount * 1000);
bool LogSilent(const char *szMessage, bool fConsole)
bool LogSilentF(const char *strMessage,...)
References iCnt, C4Stat::iCount, LogSilent(), LogSilentF(), pFirst, C4Stat::pNext, stricmp(), C4Stat::strName, and C4Stat::tTimeSum.
◆ ShowPart()
void C4MainStat::ShowPart |
( |
int |
FrameCounter | ) |
|
◆ UnRegStat()
void C4MainStat::UnRegStat |
( |
C4Stat * |
pStat | ) |
|
|
protected |
◆ C4Stat
◆ pFirst
C4Stat* C4MainStat::pFirst {nullptr} |
|
protected |
The documentation for this class was generated from the following files: