Tests: implement REUSE with SPDX identifiers
[lttng-ust.git] / tests / benchmark / README.md
CommitLineData
89a8858d
MJ
1<!--
2SPDX-FileCopyrightText: 2013 Zifei Tong <soariez@gmail.com>
3
4SPDX-License-Identifier: CC-BY-4.0
5-->
6
7To run the benchmark:
8
9 ./test_benchmark
10
11You can specify the number of iterations, events and threads by setting
12environment variables `ITERS`, `DURATION`, `NR_THREADS` respectively:
13
14 ITERS=10 DURATION=20 NR_THREADS=4 ./test_benchmark
15
16`NR_CPUS` can also be configured, but by default is based on the contents of
17`/proc/cpuinfo`.
This page took 0.022532 seconds and 4 git commands to generate.