7#ifndef YARP_OS_IMPL_PLATFORMTIME_H
8#define YARP_OS_IMPL_PLATFORMTIME_H
12# include <ace/High_Res_Timer.h>
13# include <ace/OS_NS_sys_time.h>
14# include <ace/Time_Value.h>
19# define PLATFORM_TIME_SET(x, y) x.set(y)
22# define PLATFORM_TIME_SET(x, y) fromDouble(x, y)
A mini-server for performing network communication in the background.
The components from which ports and connections are built.
void addTime(YARP_timeval &val, const YARP_timeval &add)
void getTime(YARP_timeval &now)
double toDouble(const YARP_timeval &v)
struct timeval YARP_timeval
void subtractTime(YARP_timeval &val, const YARP_timeval &subtract)
void sleepThread(YARP_timeval &sleep_period)
void fromDouble(YARP_timeval &v, double x, int unit=1)