MCPcopy Create free account
hub / github.com/ImageEngine/cortex / Timer

Method Timer

src/IECore/Timer.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63} // namespace
64
65Timer::Timer( bool start, Timer::Mode mode ) : m_running( start ), m_accumulated( 0.0 ), m_mode( mode )
66{
67 if( !m_running )
68 {
69 m_timer.stop();
70 }
71}
72
73void Timer::start()
74{

Callers 9

__init__Method · 0.80
testPerfMethod · 0.80
testLookupScalingMethod · 0.80
testMethod · 0.80

Calls 1

stopMethod · 0.80

Tested by 7

__init__Method · 0.64
testPerfMethod · 0.64
testLookupScalingMethod · 0.64