| 52 | |
| 53 | |
| 54 | void Timer::End() |
| 55 | { |
| 56 | time_point<Clock> user1 = Clock::now(); |
| 57 | clock_t syst1 = clock(); |
| 58 | |
| 59 | chrono::duration<double, micro> d = user1 - user0; |
| 60 | int tuser = static_cast<int>(d.count()); |
| 61 | |
| 62 | count++; |
| 63 | userCum += tuser; |
| 64 | systCum += static_cast<long>(syst1) - |
| 65 | static_cast<long>(syst0); |
| 66 | } |
| 67 | |
| 68 | |
| 69 | bool Timer::Used() const |
no outgoing calls
no test coverage detected