X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=gettime-thread.c;h=86c2e2efdcdcd796bd280951b5f0170ebe5a8db8;hb=2d21a787e642c4ba3b043c7e07f29c98e0383beb;hp=953e4e67e36db81e39aae9bb073b332f8bd373ab;hpb=817a1d8301824effbf9ea3352e6e722a3515473c;p=fio.git diff --git a/gettime-thread.c b/gettime-thread.c index 953e4e67..86c2e2ef 100644 --- a/gettime-thread.c +++ b/gettime-thread.c @@ -58,7 +58,7 @@ static void *gtod_thread_main(void *data) * but I'm not sure what to use outside of a simple CPU nop to relax * it - we don't want to lose precision. */ - while (threads) { + while (nr_segments) { fio_gtod_update(); nop; }