20 #ifndef _WALLCLOCK_TIMER_H_ 21 #define _WALLCLOCK_TIMER_H_ 48 return (
Real)s + 0.000001 * (
Real)us;
60 :
Timer(), sec(0), usec(0), lasttime(0.0)
64 :
Timer(), sec(old.sec), usec(old.usec), lasttime(old.lasttime)
113 #endif // _WALLCLOCK_TIMER_H_ Real wall2sec(long s, long us) const
convert wallclock time to secounds.
virtual void reset()
initialize timer, set timing accounts to zero.
virtual Real time() const
WallclockTimer(const WallclockTimer &old)
copy constructor
virtual Real lastTime() const
enum soplex::Timer::@2 status
status of the timer
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
virtual Real stop()
stop timer, return accounted user time.
Wrapper for the system time query methods.