Contiki 2.6

clock.c File Reference

Clock implementation for Unix. More...

#include "sys/clock.h"
#include <time.h>
#include <sys/time.h>

Go to the source code of this file.

Functions

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.

Detailed Description

Clock implementation for Unix.

Author:
Adam Dunkels <adam@sics.se>

Definition in file clock.c.