Go to the documentation of this file.
6 #define __STDC_LIMIT_MACROS
19 static void add(uint32_t usecs);
34 static void add(uint32_t msecs);
uint32_t start
Definition: IRtimer.h:38
This class performs a simple timer in useconds since instantiated.
Definition: IRtimer.h:13
static void add(uint32_t usecs)
Add time to the timer to simulate elapsed time.
Definition: IRtimer.cpp:44
void reset()
Resets the IRtimer object.
Definition: IRtimer.cpp:18
IRtimer()
Class constructor.
Definition: IRtimer.cpp:15
uint32_t elapsed()
Calculate how many microseconds have elapsed since the timer was started.
Definition: IRtimer.cpp:28
uint32_t elapsed()
Calculate how many milliseconds have elapsed since the timer was started.
Definition: IRtimer.cpp:61
void reset()
Resets the TimerMs object.
Definition: IRtimer.cpp:51
TimerMs()
Class constructor.
Definition: IRtimer.cpp:48
uint32_t start
Definition: IRtimer.h:23
static void add(uint32_t msecs)
Add time to the timer to simulate elapsed time.
Definition: IRtimer.cpp:77
This class performs a simple timer in milli-seoncds since instantiated.
Definition: IRtimer.h:28