A timer t of type CGAL_Timer is an object with a state. It is either running or it is stopped. The state is controlled with t.start() and t.stop() . The timer counts the time elapsed since its creation or last reset. It counts only the time where it is in the running state. The time information is given in seconds.
#include <CGAL/Timer.h>
| |
state is stopped.
|
|
|
Precondition: state is stopped. |
|
|
Precondition: state is running. |
|
| reset timer to zero. The state is unaffected. |
|
| true if the current state is running. |
|
| user process time in seconds. |
|
| number of start/stop-intervals since the last reset. |
|
| smallest possible time step in seconds. |
|
| maximal representable time in seconds. |