|
FEBio
1.5.0
|
This implements a simple timer. More...
#include <Timer.h>
Public Member Functions | |
| Timer () | |
| constructor | |
| void | start () |
| Start the timer. | |
| void | stop () |
| Stop the timer. | |
| void | reset () |
| Reset the timer. | |
| void | GetTime (int &nhour, int &nmin, int &nsec) |
| Get the elapsed time. | |
| void | time_str (char *sz) |
| return the time as a text string | |
| double | peek () |
| check the elapsed time | |
This implements a simple timer.
The start function starts the timer, the stop function stops it and the GetTime function returns the time elapsed between the call to start and stop
1.7.5.1