litl
0.1.9
|
Functions | |
litl_time_t | litl_get_time_monotonic_raw () |
Uses clock_gettime(CLOCK_MONOTONIC_RAW) More... | |
litl_time_t | litl_get_time_monotonic () |
Uses clock_gettime(CLOCK_MONOTONIC) More... | |
litl_time_t | litl_get_time_realtime () |
Uses clock_gettime(CLOCK_REALTIME) More... | |
litl_time_t | litl_get_time_process_cputime () |
Uses clock_gettime(CLOCK_PROCESS_CPUTIME) More... | |
litl_time_t | litl_get_time_thread_cputime () |
Uses clock_gettime(CLOCK_THREAD_CPUTIME) More... | |
litl_time_t | litl_get_time_ticks () |
Uses CPU-specific register (for instance, rdtsc for X86* processors) More... | |
litl_time_t | litl_get_time_none () |
Ultra-fast measurement function. More... | |
Variables | |
litl_timing_method_t | litl_get_time |
Calls the selected timing method and get the current time in ns. More... | |
litl_time_t litl_get_time_monotonic | ( | ) |
Uses clock_gettime(CLOCK_MONOTONIC)
Definition at line 236 of file litl_timer.c.
litl_time_t litl_get_time_monotonic_raw | ( | ) |
Uses clock_gettime(CLOCK_MONOTONIC_RAW)
Definition at line 223 of file litl_timer.c.
litl_time_t litl_get_time_none | ( | ) |
Ultra-fast measurement function.
Definition at line 285 of file litl_timer.c.
litl_time_t litl_get_time_process_cputime | ( | ) |
Uses clock_gettime(CLOCK_PROCESS_CPUTIME)
Definition at line 262 of file litl_timer.c.
litl_time_t litl_get_time_realtime | ( | ) |
Uses clock_gettime(CLOCK_REALTIME)
Definition at line 249 of file litl_timer.c.
litl_time_t litl_get_time_thread_cputime | ( | ) |
Uses clock_gettime(CLOCK_THREAD_CPUTIME)
Definition at line 275 of file litl_timer.c.
litl_time_t litl_get_time_ticks | ( | ) |
Uses CPU-specific register (for instance, rdtsc for X86* processors)
Definition at line 295 of file litl_timer.c.
|
extern |
Calls the selected timing method and get the current time in ns.
Definition at line 37 of file litl_timer.c.