MCPcopy Create free account
hub / github.com/covscript/covscript / time

Function time

sources/debugger.cpp:295–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293};
294
295std::size_t time()
296{
297 static std::chrono::time_point<std::chrono::high_resolution_clock> timer(std::chrono::high_resolution_clock::now());
298 return std::chrono::duration_cast<std::chrono::milliseconds>(
299 std::chrono::high_resolution_clock::now() - timer)
300 .count();
301}
302
303std::size_t breakpoint_recorder::m_id = 0;
304

Callers 1

covscript_mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected