YARP
Yet Another Robot Platform
PlatformTime.h File Reference
#include <yarp/conf/system.h>
#include <sys/time.h>
+ Include dependency graph for PlatformTime.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 yarp
 
 yarp::os
 
 yarp::os::impl
 

Macros

#define PLATFORM_TIME_SET(x, y)   fromDouble(x, y)
 

Typedefs

typedef struct timeval yarp::os::impl::YARP_timeval
 

Functions

void yarp::os::impl::getTime (YARP_timeval &now)
 
void yarp::os::impl::sleepThread (YARP_timeval &sleep_period)
 
void yarp::os::impl::addTime (YARP_timeval &val, const YARP_timeval &add)
 
void yarp::os::impl::subtractTime (YARP_timeval &val, const YARP_timeval &subtract)
 
double yarp::os::impl::toDouble (const YARP_timeval &v)
 
void yarp::os::impl::fromDouble (YARP_timeval &v, double x, int unit=1)
 

Macro Definition Documentation

◆ PLATFORM_TIME_SET

#define PLATFORM_TIME_SET (   x,
 
)    fromDouble(x, y)

Definition at line 25 of file PlatformTime.h.