MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetMicroseconds

Method GetMicroseconds

GTE/Applications/Timer.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24int64_t Timer::GetMicroseconds() const
25{
26 auto currentTime = std::chrono::high_resolution_clock::now();
27 return std::chrono::duration_cast<std::chrono::microseconds>(
28 currentTime - mInitialTime).count();
29}
30
31int64_t Timer::GetMilliseconds() const
32{

Callers 5

CaptureFrameSerialMethod · 0.45
CaptureFrameParallelMethod · 0.45
StartTriggeredCaptureMethod · 0.45
AssembleFullFrameMethod · 0.45
CaptureFrameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected