litl
0.1.1
|
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 186 of file litl_timer.c.
litl_time_t litl_get_time_monotonic_raw | ( | ) |
Uses clock_gettime(CLOCK_MONOTONIC_RAW)
Definition at line 173 of file litl_timer.c.
litl_time_t litl_get_time_process_cputime | ( | ) |
Uses clock_gettime(CLOCK_PROCESS_CPUTIME)
Definition at line 212 of file litl_timer.c.
litl_time_t litl_get_time_realtime | ( | ) |
Uses clock_gettime(CLOCK_REALTIME)
Definition at line 199 of file litl_timer.c.
litl_time_t litl_get_time_thread_cputime | ( | ) |
Uses clock_gettime(CLOCK_THREAD_CPUTIME)
Definition at line 225 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 238 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.