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

Function time_loop

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

Source from the content-addressed store, hash-verified

61 }
62
63 nanosecond_type time_loop()
64 {
65 boost::timer::auto_cpu_timer tmr;
66 boost::int64_t count = 0;
67 do
68 {
69 ++count;
70 } while (count < max_cycles);
71
72 boost::timer::cpu_times elapsed = tmr.elapsed();
73 return elapsed.user + elapsed.system;
74 }
75} // unnamed namespace
76
77//--------------------------------------------------------------------------------------//

Callers 1

cpp_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected