ulib/clock.h
raw| 1 | #ifndef ULIB__CLOCK_H |
| 2 | #define ULIB__CLOCK_H |
| 3 | |
| 4 | #include "ulib/UUID.h" |
| 5 | |
| 6 | /* Assume that gettimeofday() has microsecond granularity. */ |
| 7 | #define MAX_ADJUSTMENT 10 |
| 8 | |
| 9 | void uu_clock_init(pUCXT); |
| 10 | void uu_clock_getpath(pUCXT, persist_t *sp); |
| 11 | void uu_clock_setpath(pUCXT, persist_t *sp); |
| 12 | IV uu_clock(pUCXT, U64 *ret_clock_reg, U16 *ret_clock_seq); |
| 13 | |
| 14 | #endif |
| 15 | /* ex:set ts=2 sw=2 itab=spaces: */ |