Commit | Line | Data |
---|---|---|
1 | To run the benchmark: | |
2 | ||
3 | ./test_benchmark | |
4 | ||
5 | You can specify the number of iterations, events and threads by setting | |
6 | environment variables ITERS, DURATION, NR_THREADS respectively: | |
7 | ||
8 | ITERS=10 DURATION=20 NR_THREADS=4 ./test_benchmark | |
9 | ||
10 | NR_CPUS can also be configured, but by default is based on the contents of | |
11 | /proc/cpuinfo. |