path: root/tools/perf/Documentation/perf-bench.txt
diff options
authorIngo Molnar <>2015-10-19 10:04:28 +0200
committerArnaldo Carvalho de Melo <>2015-10-19 16:10:05 -0300
commitb0d22e52e3d2c2b151dfaa0f6e01bafa5475344f (patch)
tree0309eebbfd206dc839646d07d2c19505357694aa /tools/perf/Documentation/perf-bench.txt
parent5dd93304a5d386c73c0a59117752acdca67f857d (diff)
perf bench: Harmonize all the -l/--nr_loops options
We have three benchmarking subsystems that specify some sort of 'number of loops' parameter - but all of them do it inconsistently: numa: -l/--nr_loops sched messaging: -l/--loops mem memset/memcpy: -i/--iterations Harmonize them to -l/--nr_loops by picking the numa variant - which is also the most likely one to have existing scripting which we don't want to break. Plus improve the parameter help texts to indicate the default value for the nr_loops variable to keep users from guessing ... Also propagate the naming to internal variables. Signed-off-by: Ingo Molnar <> Cc: David Ahern <> Cc: Hitoshi Mitake <> Cc: Jiri Olsa <> Cc: Linus Torvalds <> Cc: Namhyung Kim <> Cc: Peter Zijlstra <> Cc: Thomas Gleixner <> Link: [ Let the harmonisation reach the perf-bench man page as well ] Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/Documentation/perf-bench.txt')
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/Documentation/perf-bench.txt b/tools/perf/Documentation/perf-bench.txt
index bbd27d89b50a..ddfb3e10e88c 100644
--- a/tools/perf/Documentation/perf-bench.txt
+++ b/tools/perf/Documentation/perf-bench.txt
@@ -82,7 +82,7 @@ Be multi thread instead of multi process
Specify number of groups
Specify number of loops
Example of *messaging*
@@ -149,8 +149,8 @@ Specify routine to copy (default: default).
Available routines are depend on the architecture.
On x86-64, x86-64-unrolled, x86-64-movsq and x86-64-movsb are supported.
Repeat memcpy invocation this number of times.
@@ -173,8 +173,8 @@ Specify routine to set (default: default).
Available routines are depend on the architecture.
On x86-64, x86-64-unrolled, x86-64-stosq and x86-64-stosb are supported.
Repeat memset invocation this number of times.