fix crash: free of wrong pointer in bssplit_ddir
[fio.git] / gettime.h
CommitLineData
a7346816
JA
1#ifndef FIO_GETTIME_H
2#define FIO_GETTIME_H
3
4/*
5 * Clock sources
6 */
7enum fio_cs {
8 CS_GTOD = 1,
9 CS_CGETTIME,
10 CS_CPUCLOCK,
01423eae 11 CS_INVAL,
a7346816
JA
12};
13
14extern void fio_gettime(struct timeval *, void *);
15extern void fio_gtod_init(void);
16extern void fio_clock_init(void);
17extern int fio_start_gtod_thread(void);
7d11f871 18extern int fio_monotonic_clocktest(void);
5d879392 19extern void fio_local_clock_init(int);
a7346816 20
39ab7da2
JA
21extern struct timeval *fio_tv;
22
a7346816 23#endif