Allolib
1.0
C++ Components For Interactive Multimedia
|
Public Member Functions | |
Timer (bool setStartTime=true) | |
al_nsec | elapsed () const |
Returns nsec between start() and stop() calls. | |
al_sec | elapsedSec () const |
Returns seconds between start() and stop() calls. | |
void | start () |
Set start time to current time. | |
void | stop () |
Set stop time to current time. | |
void | print () const |
Print current elapsed time. | |
Timer with stopwatch-like functionality for benchmarking, etc.
Definition at line 88 of file al_Time.hpp.