X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=gettime-thread.c;h=86c2e2efdcdcd796bd280951b5f0170ebe5a8db8;hb=5fdb9fe964013a174e56e544a0747592935cdc1f;hp=953e4e67e36db81e39aae9bb073b332f8bd373ab;hpb=653241de1eb5b9abe21cb6feb036df202d388c68;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; }