X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gettime.c;h=5741932f283ccc8edf8c262b581e9adf936dba2b;hp=a14a179bd14e49bc47e5fdb0f118a40ac7edbe0e;hb=24575392bff8bdb9ec7709a78b4fbd48367fc1f5;hpb=97211af31edb8bcb2d85fa6f8873ded829c2e368 diff --git a/gettime.c b/gettime.c index a14a179b..5741932f 100644 --- a/gettime.c +++ b/gettime.c @@ -28,7 +28,7 @@ static unsigned int max_cycles_shift; static unsigned int cycles_wrap; #endif #endif -int tsc_reliable = 0; +bool tsc_reliable = false; 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()) - tsc_reliable = 0; + tsc_reliable = false; /* * If the arch sets tsc_reliable != 0, then it must be good enough