chiark / gitweb /
test-bus-kernel-benchmark: corrected output for memfd bisect
authorHarald Hoyer <harald@redhat.com>
Wed, 5 Jun 2013 10:24:17 +0000 (12:24 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 5 Jun 2013 10:24:17 +0000 (12:24 +0200)
src/libsystemd-bus/test-bus-kernel-benchmark.c

index d9ccdc2..2e84cd9 100644 (file)
@@ -138,7 +138,7 @@ static void client_bisect(const char *address) {
                         if (now(CLOCK_MONOTONIC) >= t + arg_loop_usec)
                                 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)
                         break;