Adds ndelay() to parlib
[akaros.git] / user / parlib / include / timing.h
1 #ifndef __PARLIB_TIMING_H__
2 #define __PARLIB_TIMING_H__
3 #include <stdint.h>
4
5 void udelay(uint64_t usec);
6 void ndelay(uint64_t nsec);
7 uint64_t udiff(uint64_t begin, uint64_t end);
8 uint64_t ndiff(uint64_t begin, uint64_t end);
9
10 #endif /* __PARLIB_TIMING_H__ */