chiark / gitweb /
bus-benchmark: lower loop time to 100ms by default, to ensure "make check" finishes...
authorLennart Poettering <lennart@poettering.net>
Tue, 4 Jun 2013 10:00:50 +0000 (12:00 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 4 Jun 2013 10:00:50 +0000 (12:00 +0200)
To get useful results you should however specify a much longer time on
the command line.

src/libsystemd-bus/test-bus-kernel-benchmark.c

index 01074dd..e2a872c 100644 (file)
@@ -34,7 +34,7 @@
 
 #define MAX_SIZE (1*1024*1024)
 
-static usec_t arg_loop_usec = 10 * USEC_PER_SEC;
+static usec_t arg_loop_usec = 100 * USEC_PER_MSEC;
 
 static void server(sd_bus *b, size_t *result) {
         int r;