1 #ifndef DEVICES_TIMER_H
2 #define DEVICES_TIMER_H
6 /* Number of timer interrupts per second. */
9 void timer_init (void);
10 int64_t timer_ticks (void);
11 int64_t timer_elapsed (int64_t);
13 void timer_msleep (int64_t ms);
14 void timer_usleep (int64_t us);
15 void timer_nsleep (int64_t ns);
17 #endif /* devices/timer.h */