| 12 | } |
| 13 | |
| 14 | void Timer::RecordBegin() |
| 15 | { |
| 16 | XASSERT(getrusage(RUSAGE_SELF, &usage_begin_) == 0, "getrusage failed"); |
| 17 | begin_ = system_clock::now(); |
| 18 | } |
| 19 | |
| 20 | void Timer::RecordEnd() |
| 21 | { |
nothing calls this directly
no outgoing calls
no test coverage detected