Timer.
More...
#include <givtimer.h>
◆ clear()
◆ start()
◆ stop()
◆ usertime()
| double usertime |
( |
| ) |
const |
|
inline |
total amount of second spent in user mode.
- Returns
- the user time elapsed between the latest
start() and the latest stop().
- Precondition
stop() is called before.
◆ systime()
total amount of second spent in system mode.
- Returns
- the system time elapsed between the latest
start() and the latest stop().
- Precondition
stop() is called before.
◆ realtime()
| double realtime |
( |
| ) |
const |
|
inline |
real total amount of second spent.
- Returns
- the real total time elapsed between the latest
start() and the latest stop().
- Precondition
stop() is called before.
◆ userElapsedTime()
| double userElapsedTime |
( |
| ) |
|
|
inline |
User mode time spent since start.
A call to stop() is useless.
- Returns
- elpased time (in seconds) since
start() in user mode.
◆ sysElapsedTime()
| double sysElapsedTime |
( |
| ) |
|
|
inline |
System mode time spent since start.
A call to stop() is useless.
- Returns
- elpased time (in seconds) since
start() in system mode.
◆ realElapsedTime()
| double realElapsedTime |
( |
| ) |
|
|
inline |
real total amount of second spent since start.
A call to stop() is useless.
- Returns
- elpased time (in seconds) since
start().
The documentation for this class was generated from the following files: