| 74 | } |
| 75 | |
| 76 | void TimerCollection::tockCurrentTimer() { |
| 77 | m_timers[m_timerIndices.back()].tock(); |
| 78 | m_timerIndices.pop_back(); |
| 79 | } |
| 80 | |
| 81 | // line_length is the maximum terminal width, fit = true will cause the table to be resized down as much as possible, fit = false means the table will take exactly line_length |
| 82 | std::string TimerCollection::timeReport(int line_length, bool fit) const { |
no test coverage detected