Lines Matching refs:Timer
52 spvtools::utils::ScopedTimer<spvtools::utils::Timer> timer##__LINE__( \
94 class Timer {
96 Timer(std::ostream* out, bool measure_mem_usage = false)
169 virtual ~Timer() {} in ~Timer()
294 class CumulativeTimer : public Timer {
297 : Timer(out, measure_mem_usage), in Timer() function
308 Timer::Stop(); in Stop()
310 if (cpu_time_ >= 0 && Timer::CPUTime() >= 0) in Stop()
311 cpu_time_ += Timer::CPUTime(); in Stop()
315 if (wall_time_ >= 0 && Timer::WallTime() >= 0) in Stop()
316 wall_time_ += Timer::WallTime(); in Stop()
320 if (usr_time_ >= 0 && Timer::UserTime() >= 0) in Stop()
321 usr_time_ += Timer::UserTime(); in Stop()
325 if (sys_time_ >= 0 && Timer::SystemTime() >= 0) in Stop()
326 sys_time_ += Timer::SystemTime(); in Stop()
330 if (rss_ >= 0 && Timer::RSS() >= 0) in Stop()
331 rss_ += Timer::RSS(); in Stop()
335 if (pgfaults_ >= 0 && Timer::PageFault() >= 0) in Stop()
336 pgfaults_ += Timer::PageFault(); in Stop()