Go to the source code of this file.
Defines | |
#define | tick2msec(t) ((t)*1e3/get_cpu_frequency()) |
convert time stamp counter into msec | |
#define | tick2sec(t) ((t)/get_cpu_frequency()) |
convert time stamp counter into sec | |
#define | tick2usec(t) ((t)*1e6/get_cpu_frequency()) |
convert time stamp counter into usec | |
Typedefs | |
typedef unsigned long long | tick_t |
time stamp counter | |
Functions | |
double | get_cpu_frequency () |
get CPU frequency | |
tick_t | get_tick () |
get time stamp counter |
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 | ( | ) |
get time stamp counter
Definition at line 7 of file timeUtil.cpp.