projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
842805f
)
Revert "Change preferred default clocksource to gettimeofday()"
author
Jens Axboe
<axboe@kernel.dk>
Sat, 1 Dec 2012 14:02:11 +0000
(15:02 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Sat, 1 Dec 2012 14:02:11 +0000
(15:02 +0100)
This reverts commit
f7161017b75f5d3526147d42d3b583973922c444
.
clock_gettime() is monotonic, so a superior clock source even
if it is slower.
os/os.h
patch
|
blob
|
blame
|
history
diff --git
a/os/os.h
b/os/os.h
index 1d3a750ac526f7b016e1a166e6c6d13b4681266c..2e4764e18f4ab6c021c3171827bd7323b52ef8bf 100644
(file)
--- a/
os/os.h
+++ b/
os/os.h
@@
-135,7
+135,7
@@
typedef unsigned long os_cpu_mask_t;
#endif
#ifndef FIO_PREFERRED_CLOCK_SOURCE
#endif
#ifndef FIO_PREFERRED_CLOCK_SOURCE
-#define FIO_PREFERRED_CLOCK_SOURCE CS_
GTOD
+#define FIO_PREFERRED_CLOCK_SOURCE CS_
CGETTIME
#endif
#ifndef FIO_MAX_JOBS
#endif
#ifndef FIO_MAX_JOBS