This is a set of functions used to measure time precisely. This timer is process wide.
More...
This is a set of functions used to measure time precisely. This timer is process wide.
void Timer_Init_scale |
( |
unsigned int(*)(unsigned int) |
real_sleep | ) |
|
Timer_Init_scale.
Definition at line 37 of file Timer.c.
static double Timer_second |
( |
| ) |
|
|
inlinestatic |
Getter on the current timer scale second.
- Returns
- the current timer scale second
Definition at line 74 of file Timer.h.
void Timer_set_offset |
( |
long long int |
offset | ) |
|
Sets the offset to apply to timer.
- Parameters
-
Definition at line 31 of file Timer.c.
void Timer_set_origin |
( |
| ) |
|
Initializes the timer (save current processor timer counter)
Definition at line 26 of file Timer.c.
long long int Process_Sync_Offset |
The offset of the timer.
Definition at line 22 of file Timer.c.
uint64_t Process_time_origin |
The origin of the timer.
Definition at line 23 of file Timer.c.
double Process_timer_second |
A second in the timer scale.
Definition at line 24 of file Timer.c.