X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fbenchmark%2FREADME;h=3294f10a83f7174c16533b9402b6228a6834631a;hb=df62bd71d6d569c01aa47e9cb2a6fba8a256b255;hp=c8e33052551e30694ed93581f7babbbfd5010835;hpb=e2a245bb4294a9c9d477600fcb046d61a3ed39e5;p=lttng-ust.git diff --git a/tests/benchmark/README b/tests/benchmark/README index c8e33052..3294f10a 100644 --- a/tests/benchmark/README +++ b/tests/benchmark/README @@ -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.