MCPcopy Create free account
hub / github.com/boostorg/filesystem / time_loop

Function time_loop

test/path_times.cpp:52–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52nanosecond_type time_loop()
53{
54 boost::timer::auto_cpu_timer tmr;
55 boost::int64_t count = 0;
56 do
57 {
58 ++count;
59 } while (count < max_cycles);
60
61 boost::timer::cpu_times elapsed = tmr.elapsed();
62 return elapsed.user + elapsed.system;
63}
64} // unnamed namespace
65
66//--------------------------------------------------------------------------------------//

Callers 1

cpp_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected