MCPcopy Create free account
hub / github.com/clementgallet/libTAS / PerfTimerCall

Method PerfTimerCall

src/library/PerfTimer.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62PerfTimerCall::PerfTimerCall(LogCategoryFlag lcf)
63{
64 if ((lcf & LCF_TIMEGET) && ThreadManager::isMainThread() && perfTimer.currentTimer() == PerfTimer::GameTimer) {
65 type = PerfTimer::TimeTimer;
66 perfTimer.switchTimer(PerfTimer::TimeTimer);
67 }
68}
69
70PerfTimerCall::~PerfTimerCall()
71{

Callers

nothing calls this directly

Calls 2

currentTimerMethod · 0.80
switchTimerMethod · 0.80

Tested by

no test coverage detected