1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

test-bus-kernel-benchmark: corrected output for memfd bisect

This commit is contained in:
Harald Hoyer 2013-06-05 12:24:17 +02:00
parent 83d97ce664
commit 6cbf6931d2

View File

@ -138,7 +138,7 @@ static void client_bisect(const char *address) {
if (now(CLOCK_MONOTONIC) >= t + arg_loop_usec) if (now(CLOCK_MONOTONIC) >= t + arg_loop_usec)
break; break;
} }
printf("%u\n", (unsigned) ((n_copying * USEC_PER_SEC) / arg_loop_usec)); printf("%u\n", (unsigned) ((n_memfd * USEC_PER_SEC) / arg_loop_usec));
if (n_copying == n_memfd) if (n_copying == n_memfd)
break; break;