Contiki 2.6
|
Clock implementation for Unix. More...
#include "sys/clock.h"
#include <stdlib.h>
#include <sys/time.h>
Go to the source code of this file.
Functions | |
void | clock_init (void) |
Initialize the clock library. | |
clock_time_t | clock_time (void) |
Get the current clock time. | |
unsigned long | clock_seconds (void) |
Get the current value of the platform seconds. | |
void | clock_delay (unsigned int d) |
Delay the CPU for a multiple of 2.83 us. |
Clock implementation for Unix.
Definition in file clock.c.