#include <timer.h>
Public Member Functions | |
double | elapsed () const |
elapsed time (in seconds) for last start-stop cycle | |
void | lap () |
same as stop(), start(); | |
void | reset () |
void | start () |
void | stop () |
Timer () | |
double | total () const |
total elapsed time for all start-stop cycles | |
Private Member Functions | |
void | split (double t) |
Private Attributes | |
double | split_ |
double | start_ |
double | total_ |
Clasp::Timer< TimeType >::Timer | ( | ) | [inline] |
double Clasp::Timer< TimeType >::elapsed | ( | ) | const [inline] |
void Clasp::Timer< TimeType >::lap | ( | ) | [inline] |
void Clasp::Timer< TimeType >::reset | ( | ) | [inline] |
void Clasp::Timer< TimeType >::split | ( | double | t | ) | [inline, private] |
void Clasp::Timer< TimeType >::start | ( | ) | [inline] |
void Clasp::Timer< TimeType >::stop | ( | ) | [inline] |
double Clasp::Timer< TimeType >::total | ( | ) | const [inline] |
double Clasp::Timer< TimeType >::split_ [private] |
double Clasp::Timer< TimeType >::start_ [private] |
double Clasp::Timer< TimeType >::total_ [private] |