MCPcopy Create free account
hub / github.com/dds-bridge/dds / end

Method end

library/tests/TestTimer.cpp:62–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62void TestTimer::end()
63{
64 time_point<Clock> user1 = Clock::now();
65 clock_t sys1 = clock();
66
67 duration<double, std::milli> d = user1 - user0_;
68 int tuser = static_cast<int>(d.count());
69
70 user_cum_ += tuser;
71 sys_cum_ += static_cast<int>((1000 * (sys1 - sys0_)) /
72 static_cast<double>(CLOCKS_PER_SEC));
73}
74
75
76void TestTimer::print_running(

Callers 9

read_argsFunction · 0.80
real_mainFunction · 0.80
loop_solveFunction · 0.80
loop_calcFunction · 0.80
loop_dealerparFunction · 0.80
loop_playFunction · 0.80
normalize_orderingFunction · 0.80
TEST_FFunction · 0.80
register_table_bindingsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected