![]() |
cueOS
2.4
cueOS - Universal Show Control OS for ARM
|
Data Structures | |
struct | ms_chronometer_s |
ms_chronometer structure object More... | |
Functions | |
void | ms_chronometer_reset (ms_chronometer_s *ms_chronometer) |
Resets an mschronometer instance time delta to zero. More... | |
uint32_t | ms_chronometer_get_elapsed_ms (ms_chronometer_s *ms_chronometer) |
Returns elapsed time in milliseconds since last reset. More... | |
In order to keep track of time, a chronometer capable of producing accurate millisecond count is required. mschonometer conveys time information using a time delta value which can be set and reset throughout time. Once reset, elapsed time may be processed using the time delta value as a start offset
uint32_t ms_chronometer_get_elapsed_ms | ( | ms_chronometer_s * | ms_chronometer | ) |
Returns elapsed time in milliseconds since last reset.
ms_chronometer | ms_chronometer instance to be reseted |
Definition at line 33 of file ms_chronometer.c.
void ms_chronometer_reset | ( | ms_chronometer_s * | ms_chronometer | ) |
Resets an mschronometer instance time delta to zero.
ms_chronometer | ms_chronometer instance to be reseted |
Definition at line 23 of file ms_chronometer.c.