MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / elapsedMicroseconds

Method elapsedMicroseconds

core/src/core/profiler.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42double Timer::elapsedMicroseconds() const
43{
44 std::chrono::duration<double, std::micro> duration = std::chrono::high_resolution_clock::now() - mStartTime;
45 return duration.count();
46}
47
48double Timer::elapsedNanoseconds() const
49{

Callers 9

AudioThreadFunction · 0.80
BENCHMARKFunction · 0.80
ITESTFunction · 0.80

Calls

no outgoing calls

Tested by 3

ITESTFunction · 0.64