Commit | Line | Data |
---|---|---|
a44af49d | 1 | To run the benchmark: |
e6af533d | 2 | |
a44af49d | 3 | ./test_benchmark |
e6af533d | 4 | |
a44af49d | 5 | You can specify the number of iterations, events and threads by setting |
df62bd71 | 6 | environment variables ITERS, DURATION, NR_THREADS respectively: |
e6af533d | 7 | |
df62bd71 MD |
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. |