Allolib  1.0
C++ Components For Interactive Multimedia
al::Timer Class Reference

#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/system/al_Time.hpp>

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.
 

Detailed Description

Timer with stopwatch-like functionality for benchmarking, etc.

Definition at line 88 of file al_Time.hpp.


The documentation for this class was generated from the following file: