litl
0.1.1
|
Typedefs | |
typedef litl_time_t(* | litl_timing_method_t )() |
A callback function that returns the current time in ns. It can be either a pointer to one of the timing functions provided by LiTL or a user-defined function. More... | |
Functions | |
void | litl_time_initialize () |
Initializes the timing mechanism. More... | |
int | litl_set_timing_method (litl_timing_method_t callback) |
Selects the timing function to use. More... | |
typedef litl_time_t(* litl_timing_method_t)() |
A callback function that returns the current time in ns. It can be either a pointer to one of the timing functions provided by LiTL or a user-defined function.
Definition at line 42 of file litl_timer.h.
int litl_set_timing_method | ( | litl_timing_method_t | callback | ) |
Selects the timing function to use.
callback | A name of timing function |
Definition at line 154 of file litl_timer.c.
void litl_time_initialize | ( | ) |
Initializes the timing mechanism.
Definition at line 99 of file litl_timer.c.