#include <CPTimer.h>
Public Member Functions | |
| CPTimer () | |
| double | elapsed () const |
| double | lastLap () const |
| void | pause () |
| void | restart () |
| void | resume () |
| void | start () |
Private Attributes | |
| double | _elapsed |
| struct tms | _start_time |
| bool | paused |
| CPTimer::CPTimer | ( | ) | [inline] |
| double CPTimer::elapsed | ( | ) | const [inline] |
| double CPTimer::lastLap | ( | ) | const [inline] |
| void CPTimer::pause | ( | ) | [inline] |
| void CPTimer::restart | ( | ) | [inline] |
| void CPTimer::resume | ( | ) | [inline] |
| void CPTimer::start | ( | ) | [inline] |
double CPTimer::_elapsed [private] |
struct tms CPTimer::_start_time [private] |
bool CPTimer::paused [private] |