MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / start

Method start

okvis_ros/okvis/okvis_timing/src/Timer.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void Timer::start() {
115 OKVIS_ASSERT_TRUE(TimerException, !m_timing, "The timer " + Timing::getTag(m_handle) + " is already running");
116 m_timing = true;
117#ifdef OKVIS_USE_HIGH_PERF_TIMER
118 QueryPerformanceCounter(&m_time);
119#else
120 m_time = boost::posix_time::microsec_clock::local_time();
121#endif
122}
123
124void Timer::stop() {
125 OKVIS_ASSERT_TRUE(TimerException, m_timing, "The timer " + Timing::getTag(m_handle) + " is not running");

Callers 6

frameConsumerLoopMethod · 0.45
matchingLoopMethod · 0.45
imuConsumerLoopMethod · 0.45
depthConsumerLoopMethod · 0.45
sonarConsumerLoopMethod · 0.45
optimizationLoopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected