| 74 | |
| 75 | |
| 76 | void 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 | |
| 94 | void TestTimer::print_basic() const |
no outgoing calls
no test coverage detected