projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HOWTO: minor internal/reordering/formatting changes
[fio.git]
/
gettime.c
diff --git
a/gettime.c
b/gettime.c
index a14a179bd14e49bc47e5fdb0f118a40ac7edbe0e..5741932f283ccc8edf8c262b581e9adf936dba2b 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-28,7
+28,7
@@
static unsigned int max_cycles_shift;
static unsigned int cycles_wrap;
#endif
#endif
static unsigned int cycles_wrap;
#endif
#endif
-
int tsc_reliable = 0
;
+
bool tsc_reliable = false
;
struct tv_valid {
int warned;
struct tv_valid {
int warned;
@@
-413,7
+413,7
@@
void fio_clock_init(void)
fio_clock_source_inited = fio_clock_source;
if (calibrate_cpu_clock())
fio_clock_source_inited = fio_clock_source;
if (calibrate_cpu_clock())
- tsc_reliable =
0
;
+ tsc_reliable =
false
;
/*
* If the arch sets tsc_reliable != 0, then it must be good enough
/*
* If the arch sets tsc_reliable != 0, then it must be good enough