summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-01-12 16:31:41 -0800
committerPaul E. McKenney <paulmck@kernel.org>2024-01-20 12:40:11 -0800
commit3eda1791d22f61dca070e7a97f091347933ef3e4 (patch)
tree28a6488b2b0c31214487ce2a02e09a2c1da78fe6
parent94795ce73fbcb48056f077a8f207b932d85c71c6 (diff)
downloadperfbook-3eda1791d22f61dca070e7a97f091347933ef3e4.tar.gz
CodeSamples/cpu: Add usage comment to temporalhist.sh
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--CodeSamples/cpu/temporalhist.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/CodeSamples/cpu/temporalhist.sh b/CodeSamples/cpu/temporalhist.sh
index f96feba4..f0e8e3e1 100644
--- a/CodeSamples/cpu/temporalhist.sh
+++ b/CodeSamples/cpu/temporalhist.sh
@@ -5,6 +5,12 @@
# The is suitable for gnuplot, though stray values due to delays in the
# test may need to be manually trimmed.
#
+# Example usage:
+# for ((i=0;i<1000;i++))
+# do
+# sh coe.sh
+# done sort -k4n | sh temporalhist.sh
+#
# 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