Fix up header guards.
[pintos-anon] / src / devices / timer.h
1 #ifndef DEVICES_TIMER_H
2 #define DEVICES_TIMER_H
3
4 #include <stdint.h>
5
6 #define TIMER_FREQ 100
7
8 void timer_init (void);
9 int64_t timer_ticks (void);
10 int64_t timer_elapsed (int64_t);
11
12 void timer_msleep (int64_t ms);
13 void timer_usleep (int64_t us);
14 void timer_nsleep (int64_t ns);
15
16 #endif /* devices/timer.h */