
Go to the source code of this file.
Macros | |
| #define | tick2msec(t) ((t)*1e3/get_cpu_frequency()) |
| convert time stamp counter into msec More... | |
| #define | tick2sec(t) ((t)/get_cpu_frequency()) |
| convert time stamp counter into sec More... | |
| #define | tick2usec(t) ((t)*1e6/get_cpu_frequency()) |
| convert time stamp counter into usec More... | |
Typedefs | |
| typedef unsigned long long | tick_t |
| time stamp counter More... | |
Functions | |
| double | get_cpu_frequency () |
| get CPU frequency More... | |
| tick_t | get_tick () |
| get time stamp counter More... | |
convert time stamp counter into msec
| t | value of time stamp counter |
Definition at line 31 of file timeUtil.h.
| #define tick2sec | ( | t | ) | ((t)/get_cpu_frequency()) |
convert time stamp counter into sec
| t | value of time stamp counter |
Definition at line 37 of file timeUtil.h.
convert time stamp counter into usec
| t | value of time stamp counter |
Definition at line 25 of file timeUtil.h.
| typedef unsigned long long tick_t |
time stamp counter
Definition at line 7 of file timeUtil.h.
| double get_cpu_frequency | ( | ) |
| tick_t get_tick | ( | ) |
get time stamp counter
Definition at line 7 of file timeUtil.cpp.