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

Method print_running

library/tests/TestTimer.cpp:76–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75
76void TestTimer::print_running(
77 const int reached,
78 const int divisor)
79{
80 if (count_ == 0)
81 return;
82
83 cout << setw(8) << reached << " (" <<
84 setw(6) << setprecision(1) << right << fixed <<
85 100. * reached /
86 static_cast<float>(divisor) << "%)" <<
87 setw(15) << right << fixed << setprecision(0) <<
88 (user_cum_ - user_cum_old_) << endl;
89
90 user_cum_old_ = user_cum_;
91}
92
93
94void TestTimer::print_basic() const

Callers 4

loop_solveFunction · 0.80
loop_calcFunction · 0.80
loop_dealerparFunction · 0.80
loop_playFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected