Searched defs:ScopedTimer (Results 1 – 1 of 1) sorted by relevance
324 struct ScopedTimer { struct325 explicit ScopedTimer(base::TimeDelta* location) : location_(location) { in ScopedTimer() argument330 ~ScopedTimer() { *location_ += timer_.Elapsed(); } in ~ScopedTimer()332 base::ElapsedTimer timer_;333 base::TimeDelta* location_;