MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / RecursiveStopWatch

Method RecursiveStopWatch

src/utils/Utils.cpp:499–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499Utils::RecursiveStopWatch::RecursiveStopWatch(Utils::TimeSpan& timeSpan, bool enabled)
500 : m_TimeSpan(timeSpan)
501 , m_Enabled(enabled)
502 , m_Start(bx::getHPCounter())
503{
504 if (m_Enabled)
505 m_TimeSpan.enter();
506}
507
508Utils::RecursiveStopWatch::~RecursiveStopWatch()
509{

Callers

nothing calls this directly

Calls 1

enterMethod · 0.80

Tested by

no test coverage detected