Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
rtc
SequencePlayer
timeUtil.h
Go to the documentation of this file.
1
#ifndef TIME_UTIL_H
2
#define TIME_UTIL_H
3
7
typedef
unsigned
long
long
tick_t
;
8
13
tick_t
get_tick
();
14
19
double
get_cpu_frequency
();
20
25
#define tick2usec(t) ((t)*1e6/get_cpu_frequency())
26
31
#define tick2msec(t) ((t)*1e3/get_cpu_frequency())
32
37
#define tick2sec(t) ((t)/get_cpu_frequency())
38
39
#endif
tick_t
unsigned long long tick_t
get_tick
tick_t get_tick()
get time stamp counter
Definition:
timeUtil.cpp:7
get_cpu_frequency
double get_cpu_frequency()
get CPU frequency
Definition:
timeUtil.cpp:28
tick_t
unsigned long long tick_t
time stamp counter
Definition:
timeUtil.h:7
hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:51