Contiki-NG
Loading...
Searching...
No Matches
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)
 Obsolete delay function but we implement it here since some code still uses it.
 
void clock_init (void)
 Initialize the clock library.
 

Detailed Description

Clock implementation for Unix.

Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file clock.c.