MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / getElapsedSeconds

Method getElapsedSeconds

tests/framework/src/doctest.cpp:320–320  ·  view source on GitHub ↗

unsigned int getElapsedMilliseconds() const { return static_cast (getElapsedMicroseconds() / 1000); }

Source from the content-addressed store, hash-verified

318 // return static_cast<unsigned int>(getElapsedMicroseconds() / 1000);
319 //}
320 double getElapsedSeconds() const { return static_cast<double>(getCurrentTicks() - m_ticks) / 1000000.0; }
321
322 private:
323 ticks_t m_ticks = 0;

Callers 3

finalizeTestCaseDataMethod · 0.80
test_case_reenterMethod · 0.80
test_case_endMethod · 0.80

Calls 1

getCurrentTicksFunction · 0.85

Tested by

no test coverage detected