SoPlex
Loading...
Searching...
No Matches
NoTimer Class Reference

#include <notimer.h>

Inheritance diagram for NoTimer:
Timer

Public Member Functions

Construction / destruction
 NoTimer ()
 default constructor
 NoTimer (const NoTimer &)
 copy constructor
NoTimeroperator= (const NoTimer &)
 assignment operator
virtual ~NoTimer ()
Control
virtual void reset ()
 initialize timer
virtual void start ()
 start timer
virtual Real stop ()
 stop timer
virtual TYPE type ()
 return type of timer
Access
virtual Real time () const
virtual Real lastTime () const
Public Member Functions inherited from Timer
 Timer ()
 default constructor
 Timer (const Timer &old)
 copy constructor
Timeroperator= (const Timer &old)
 assignment operator
virtual ~Timer ()
void getLastTimes (Real *userTime, Real *systemTime, Real *realTime) const
 return accounted time. get accounted user, system, or real time when ticks were updated last
Real realTimeLast () const
 return accounted real time without rechecking the clock

Additional Inherited Members

Public Types inherited from Timer
enum  TYPE { OFF = 0 , USER_TIME = 1 , WALLCLOCK_TIME = 2 }
 types of timers More...
Protected Types inherited from Timer
enum  { RESET , STOPPED , RUNNING }
 status of the timer More...
enum soplex::Timer:: { ... }  status
 status of the timer

Detailed Description

Definition at line 38 of file notimer.h.

Constructor & Destructor Documentation

◆ NoTimer() [1/2]

NoTimer ( )

default constructor

Definition at line 47 of file notimer.h.

References Timer::Timer().

Referenced by NoTimer(), and operator=().

◆ NoTimer() [2/2]

NoTimer ( const NoTimer & )

copy constructor

Definition at line 51 of file notimer.h.

References NoTimer(), and Timer::Timer().

◆ ~NoTimer()

virtual ~NoTimer ( )
virtual

Definition at line 60 of file notimer.h.

Member Function Documentation

◆ lastTime()

virtual Real lastTime ( ) const
virtual

Implements Timer.

Definition at line 96 of file notimer.h.

◆ operator=()

NoTimer & operator= ( const NoTimer & )

assignment operator

Definition at line 55 of file notimer.h.

References NoTimer().

◆ reset()

virtual void reset ( )
virtual

initialize timer

Implements Timer.

Definition at line 68 of file notimer.h.

◆ start()

virtual void start ( )
virtual

start timer

Implements Timer.

Definition at line 72 of file notimer.h.

◆ stop()

virtual Real stop ( )
virtual

stop timer

Implements Timer.

Definition at line 76 of file notimer.h.

◆ time()

virtual Real time ( ) const
virtual

Implements Timer.

Definition at line 91 of file notimer.h.

◆ type()

virtual TYPE type ( )
virtual

return type of timer

Implements Timer.

Definition at line 82 of file notimer.h.

References Timer::OFF.