| 177 | {} |
| 178 | |
| 179 | ScopedTimerWithLog::~ScopedTimerWithLog() |
| 180 | { |
| 181 | switch (m_measure) |
| 182 | { |
| 183 | case Measure::MilliSeconds: |
| 184 | { |
| 185 | LOG(LINFO, (m_name, "time:", m_timer.ElapsedMilliseconds(), "ms")); |
| 186 | return; |
| 187 | } |
| 188 | case Measure::Seconds: |
| 189 | { |
| 190 | LOG(LINFO, (m_name, "time:", m_timer.ElapsedSeconds(), "s")); |
| 191 | return; |
| 192 | } |
| 193 | } |
| 194 | UNREACHABLE(); |
| 195 | } |
| 196 | } // namespace base |
nothing calls this directly
no test coverage detected