Commit | Line | Data |
---|---|---|
1 | #ifndef FIO_GETTIME_H | |
2 | #define FIO_GETTIME_H | |
3 | ||
4 | /* | |
5 | * Clock sources | |
6 | */ | |
7 | enum fio_cs { | |
8 | CS_GTOD = 1, | |
9 | CS_CGETTIME, | |
10 | CS_CPUCLOCK, | |
11 | CS_INVAL, | |
12 | }; | |
13 | ||
14 | extern void fio_gettime(struct timeval *, void *); | |
15 | extern void fio_gtod_init(void); | |
16 | extern void fio_clock_init(void); | |
17 | extern int fio_start_gtod_thread(void); | |
18 | extern int fio_monotonic_clocktest(void); | |
19 | extern void fio_local_clock_init(int); | |
20 | ||
21 | extern struct timeval *fio_tv; | |
22 | ||
23 | #endif |