projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into gfio
[fio.git]
/
os
/
os.h
diff --git
a/os/os.h
b/os/os.h
index 1e924d3360b423201cab1cfce1288864d8559c5e..4416ae482fb46a176cccf252bea8307dbc24b0c8 100644
(file)
--- a/
os/os.h
+++ b/
os/os.h
@@
-127,7
+127,11
@@
typedef unsigned long os_cpu_mask_t;
#endif
#ifndef FIO_PREFERRED_CLOCK_SOURCE
+#ifdef CONFIG_CLOCK_GETTIME
#define FIO_PREFERRED_CLOCK_SOURCE CS_CGETTIME
+#else
+#define FIO_PREFERRED_CLOCK_SOURCE CS_GTOD
+#endif
#endif
#ifndef FIO_MAX_JOBS