#include <llfasttimer.h>
Definition at line 39 of file llfasttimer.h.
anonymous enum |
anonymous enum |
Definition at line 42 of file llfasttimer.h.
LLFastTimer::LLFastTimer | ( | EFastTimerType | type | ) | [inline] |
Definition at line 180 of file llfasttimer.h.
References get_cpu_clock_count(), mType, sCurDepth, and sStart.
LLFastTimer::~LLFastTimer | ( | ) | [inline] |
Definition at line 195 of file llfasttimer.h.
References end, get_cpu_clock_count(), i, mType, sCalls, sCounter, sCurDepth, and sStart.
U64 LLFastTimer::countsPerSecond | ( | ) | [static] |
Definition at line 125 of file llfasttimer.cpp.
References CProcessor::GetCPUFrequency(), and sCPUClockFrequency.
Referenced by LLFastTimerView::draw(), LLFastTimerView::getTime(), and reset().
void LLFastTimer::reset | ( | ) | [static] |
Definition at line 136 of file llfasttimer.cpp.
References countsPerSecond(), FTM_HISTORY_NUM, FTM_NUM_TYPES, i, llendl, llerrs, S32, sCallAverage, sCallHistory, sCalls, sCountAverage, sCounter, sCountHistory, sCurDepth, sCurFrameIndex, sLastFrameIndex, sPauseHistory, and sResetHistory.
Referenced by main_loop().
EFastTimerType LLFastTimer::mType [private] |
U64 LLFastTimer::sCallAverage [static] |
U64 LLFastTimer::sCallHistory [static] |
U64 LLFastTimer::sCalls [static] |
U64 LLFastTimer::sCountAverage [static] |
Definition at line 224 of file llfasttimer.h.
Referenced by LLFastTimerView::draw(), LLFastTimerView::getTime(), and reset().
U64 LLFastTimer::sCounter [static] |
U64 LLFastTimer::sCountHistory [static] |
F64 LLFastTimer::sCPUClockFrequency = 0.0 [static] |
int LLFastTimer::sCurDepth = 0 [static] |
Definition at line 220 of file llfasttimer.h.
Referenced by LLFastTimer(), reset(), and ~LLFastTimer().
S32 LLFastTimer::sCurFrameIndex = -1 [static] |
S32 LLFastTimer::sLastFrameIndex = -1 [static] |
Definition at line 229 of file llfasttimer.h.
Referenced by LLFastTimerView::draw(), LLFastTimerView::handleScrollWheel(), and reset().
int LLFastTimer::sPauseHistory = 0 [static] |
Definition at line 230 of file llfasttimer.h.
Referenced by LLFastTimerView::draw(), LLFastTimerView::handleHover(), LLFastTimerView::handleMouseDown(), LLFastTimerView::handleScrollWheel(), and reset().
int LLFastTimer::sResetHistory = 0 [static] |
U64 LLFastTimer::sStart [static] |