X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gettime.c;h=5c0e44576f2b3392fd0c982b2ee35a95c06cec3a;hp=cc9dcb7bea7ab28215e09304b3c32688be8d8f25;hb=372fd659ee6a652d373ae0b4420c23c5fa9e4dc0;hpb=266506958a1dbaa41800f0b1170217d81c702f47 diff --git a/gettime.c b/gettime.c index cc9dcb7b..5c0e4457 100644 --- a/gettime.c +++ b/gettime.c @@ -342,6 +342,14 @@ void fio_clock_init(void) log_err("fio: can't create TLS key\n"); #endif + /* + * Probably an AMD issue, will need to investigate. Until that + * is done, disable the CPU clock. + */ +#if FIO_OS == os_solaris + tsc_reliable = 0; +#endif + fio_clock_source_inited = fio_clock_source; calibrate_cpu_clock();