summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-10-13 16:35:31 -0700
committerPaul E. McKenney <paulmck@kernel.org>2023-10-13 16:36:51 -0700
commit7d38b10a91389d86421bafaf4db0acc4b5330d2b (patch)
tree97798fe75418a94fca7e00b105435d23613ec60b
parent9aaf6acc9fa2e2f15e219def0ab15294df5346d0 (diff)
downloadperfbook-7d38b10a91389d86421bafaf4db0acc4b5330d2b.tar.gz
CodeSamples/cpu: Update script header comments
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--CodeSamples/cpu/cachetorture.sh4
-rw-r--r--CodeSamples/cpu/reduce.sh3
2 files changed, 6 insertions, 1 deletions
diff --git a/CodeSamples/cpu/cachetorture.sh b/CodeSamples/cpu/cachetorture.sh
index 87888e16..4bfa64e9 100644
--- a/CodeSamples/cpu/cachetorture.sh
+++ b/CodeSamples/cpu/cachetorture.sh
@@ -1,7 +1,9 @@
#!/bin/bash
#
# Run cachetorture stats, CPU 0 vs. all other CPUs. First parameter
-# controls the maximum CPU number, defaulting to the largest-numbered CPU.
+# controls the test CPU number, defaulting to zero, while the second
+# parameter controls the maximum CPU number, defaulting to the
+# largest-numbered CPU.
#
# Usage: cachetorture.sh [ testcpu [ lastcpu ] ]
#
diff --git a/CodeSamples/cpu/reduce.sh b/CodeSamples/cpu/reduce.sh
index b34852c5..83d2f38d 100644
--- a/CodeSamples/cpu/reduce.sh
+++ b/CodeSamples/cpu/reduce.sh
@@ -12,6 +12,9 @@
# is <system-id>.yyyy.mm.ddA. If "cpu" is given, only the data
# with that CPU as cpu0 will be considered.
#
+# Files ending in .sctr.dat are data for scatterplots. Files ending
+# in just .dat list average latencies.
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or