MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / elapsedTime

Method elapsedTime

source/MaterialXRender/Timer.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21double ScopedTimer::elapsedTime()
22{
23 std::chrono::time_point<clock> endTime = clock::now();
24 std::chrono::duration<double> elapsedTime = endTime - _startTime;
25 return elapsedTime.count();
26}
27
28void ScopedTimer::startTimer()
29{

Callers 3

renderFrameMethod · 0.80
renderFrameMethod · 0.80
draw_contentsMethod · 0.80

Calls 2

nowClass · 0.85
countMethod · 0.80

Tested by

no test coverage detected