MCPcopy Create free account
hub / github.com/dds-bridge/dds / End

Method End

library/src/system/timer.cpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54void Timer::End()
55{
56 time_point<Clock> user1 = Clock::now();
57 clock_t syst1 = clock();
58
59 chrono::duration<double, micro> d = user1 - user0;
60 int tuser = static_cast<int>(d.count());
61
62 count++;
63 userCum += tuser;
64 systCum += static_cast<long>(syst1) -
65 static_cast<long>(syst0);
66}
67
68
69bool Timer::Used() const

Callers 2

EndThreadTimerMethod · 0.45
EndBlockTimerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected