tests: benchmark: improve benchmark scalability accuracy
[lttng-ust.git] / tests / benchmark / README
index c8e33052551e30694ed93581f7babbbfd5010835..3294f10a83f7174c16533b9402b6228a6834631a 100644 (file)
@@ -3,6 +3,9 @@ To run the benchmark:
     ./test_benchmark
 
 You can specify the number of iterations, events and threads by setting
-environment variables ITERS, NR_EVENTS, NR_CPUS respectively:
+environment variables ITERS, DURATION, NR_THREADS respectively:
 
-    ITERS=10 NR_EVENTS=10000 NR_CPUS=4 ./test_benchmark
+    ITERS=10 DURATION=20 NR_THREADS=4 ./test_benchmark
+
+NR_CPUS can also be configured, but by default is based on the contents of
+/proc/cpuinfo.
This page took 0.023702 seconds and 4 git commands to generate.