Tests: implement REUSE with SPDX identifiers
[lttng-ust.git] / tests / benchmark / README.md
1 <!--
2 SPDX-FileCopyrightText: 2013 Zifei Tong <soariez@gmail.com>
3
4 SPDX-License-Identifier: CC-BY-4.0
5 -->
6
7 To run the benchmark:
8
9 ./test_benchmark
10
11 You can specify the number of iterations, events and threads by setting
12 environment 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.033509 seconds and 4 git commands to generate.