MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / StopTiming

Method StopTiming

Source/Utility/Profiler.cpp:390–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void CProfileCallstack::StopTiming( u64 now )
391{
392 DAEDALUS_ASSERT( mStartTime != 0, "We're not currently timing" );
393
394 if( mStartTime != 0 )
395 {
396 mTotalTime += now - mStartTime;
397 mStartTime = 0;
398 }
399}
400
401CProfiler::CProfiler()
402: mpImpl( new CProfilerImpl( ) )

Callers 2

UpdateMethod · 0.80
ExitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected