Returns total time in cpu ticks for which the stopwatch was running, including the time since Start() was called, if it is currently running.
| 69 | /// Returns total time in cpu ticks for which the stopwatch was running, including |
| 70 | /// the time since Start() was called, if it is currently running. |
| 71 | uint64_t ElapsedTime() const { |
| 72 | return total_time_ + RunningTime(); |
| 73 | } |
| 74 | |
| 75 | #if defined(__aarch64__) |
| 76 | static uint64_t Rdtsc() { |
no outgoing calls