litl
0.1.8
|
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... | |
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 222 of file litl_timer.c.
litl_time_t litl_get_time_monotonic_raw | ( | ) |
Uses clock_gettime(CLOCK_MONOTONIC_RAW)
Definition at line 209 of file litl_timer.c.
litl_time_t litl_get_time_process_cputime | ( | ) |
Uses clock_gettime(CLOCK_PROCESS_CPUTIME)
Definition at line 248 of file litl_timer.c.
litl_time_t litl_get_time_realtime | ( | ) |
Uses clock_gettime(CLOCK_REALTIME)
Definition at line 235 of file litl_timer.c.
litl_time_t litl_get_time_thread_cputime | ( | ) |
Uses clock_gettime(CLOCK_THREAD_CPUTIME)
Definition at line 261 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 274 of file litl_timer.c.
litl_timing_method_t litl_get_time |
Calls the selected timing method and get the current time in ns.
Definition at line 33 of file litl_timer.c.