Macros | Typedefs | Functions
TimeUtil.h File Reference
#include "exportdef.h"
Include dependency graph for TimeUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define tick2msec(t)   ((t)*1e3/get_cpu_frequency())
 
#define tick2sec(t)   ((t)/get_cpu_frequency())
 
#define tick2usec(t)   ((t)*1e6/get_cpu_frequency())
 

Typedefs

typedef unsigned long long tick_t
 

Functions

double HRPPLANNER_API get_cpu_frequency ()
 
tick_t HRPPLANNER_API get_tick ()
 

Macro Definition Documentation

#define tick2msec (   t)    ((t)*1e3/get_cpu_frequency())

Definition at line 17 of file TimeUtil.h.

#define tick2sec (   t)    ((t)/get_cpu_frequency())

Definition at line 18 of file TimeUtil.h.

#define tick2usec (   t)    ((t)*1e6/get_cpu_frequency())

Definition at line 16 of file TimeUtil.h.

Typedef Documentation

typedef unsigned long long tick_t

Definition at line 9 of file TimeUtil.h.

Function Documentation

double HRPPLANNER_API get_cpu_frequency ( )

Definition at line 33 of file TimeUtil.cpp.

tick_t HRPPLANNER_API get_tick ( )

Definition at line 6 of file TimeUtil.cpp.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:28