29 #ifndef _WALLCLOCK_TIMER_H_ 30 #define _WALLCLOCK_TIMER_H_ 57 return (
Real)s + 0.000001 * (
Real)us;
69 :
Timer(), sec(0), usec(0), lasttime(0.0)
73 :
Timer(), sec(old.sec), usec(old.usec), lasttime(old.lasttime)
100 virtual void start();
122 #endif // _WALLCLOCK_TIMER_H_ virtual void reset()
initialize timer, set timing accounts to zero.
virtual Real time() const
WallclockTimer(const WallclockTimer &old)
copy constructor
virtual Real lastTime() const
Real wall2sec(time_t s, time_t us) const
convert wallclock time to secounds.
virtual void start()
start timer, resume accounting user, system and real time.
virtual TYPE type()
return type of timer
virtual ~WallclockTimer()
Debugging, floating point type and parameter definitions.
Everything should be within this namespace.
WallclockTimer()
default constructor
WallclockTimer & operator=(const WallclockTimer &old)
assignment operator
enum soplex::Timer::@15 status
status of the timer
virtual Real stop()
stop timer, return accounted user time.
Wrapper for the system time query methods.