1#ifndef __TimedObject_H__
2#define __TimedObject_H__
declares the stir::CPUTimer class.
High-resolution wall-clock timer stir::HighResWallClockTimer.
inline implementations for stir::TimedObject
A class for measuring elapsed CPU time.
Definition CPUTimer.h:97
High-resolution timer.
Definition HighResWallClockTimer.h:76
base class for all objects which need timers. At the moment, there's only a CPU timer.
Definition TimedObject.h:36
double get_CPU_timer_value() const
get current value of the CPU timer (since first use or last reset)
Definition TimedObject.inl:47
void stop_timers() const
stop all timers kept by this object
Definition TimedObject.inl:40
void reset_timers()
reset all timers kept by this object
Definition TimedObject.inl:26
double get_wall_clock_timer_value() const
get current value of the wall-clock timer (since first use or last reset)
Definition TimedObject.inl:53
void start_timers(bool do_reset=false) const
start all timers kept by this object
Definition TimedObject.inl:33