| 38 | time_point start; |
| 39 | |
| 40 | Timer(const char *_prompt, int _log_frequency = 1) |
| 41 | : prompt(_prompt), log_frequency(_log_frequency), start(clock::now()) { |
| 42 | if (occurrence.find(prompt) == occurrence.end()) |
| 43 | occurrence[prompt] = 0; |
| 44 | } |
| 45 | |
| 46 | ~Timer() { |
| 47 | time_point end = clock::now(); |
nothing calls this directly
no outgoing calls
no test coverage detected