40 #include "sys/clock.h"
50 gettimeofday(&tv,
NULL);
52 return tv.tv_sec * 1000 + tv.tv_usec / 1000;
60 gettimeofday(&tv,
NULL);
#define NULL
The null pointer.
CCIF clock_time_t clock_time(void)
Get the current clock time.
CCIF unsigned long clock_seconds(void)
Get the current value of the platform seconds.
void clock_delay(unsigned int delay)
Obsolete delay function but we implement it here since some code still uses it.