From 16bfed352b67d22702814d23bf6dc6c13d58048e Mon Sep 17 00:00:00 2001 From: Anthony Wharton Date: Thu, 21 Feb 2019 18:11:47 +0000 Subject: [PATCH] Update help output of kernel-nanoBench.sh - Include asm commands - Remove cpu, usr, os commands --- kernel-nanoBench.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel-nanoBench.sh b/kernel-nanoBench.sh index 925bb35..47b25de 100755 --- a/kernel-nanoBench.sh +++ b/kernel-nanoBench.sh @@ -74,6 +74,8 @@ while [ "$1" ]; do elif [[ "$1" == -h || "$1" == --help ]]; then echo "kernel-nanoBench usage:" echo + echo " -asm : Assembler code string (in Intel syntax) to be benchmarked." + echo " -asm_init : Assembler code string (in Intel syntax) to be executed once in the beginning" echo " -code : Binary file containing the code to be benchmarked." echo " -code_init : Binary file containing code to be executed once in the beginning" echo " -config : File with performance counter event specifications." @@ -88,9 +90,6 @@ while [ "$1" ]; do echo " -basic_mode: Enables basic mode." echo " -no_mem: The code for reading the perf. ctrs. does not make memory accesses." echo " -verbose: Outputs the results of all performance counter readings." - echo " -cpu : Pins the measurement thread to CPU n." - echo " -usr : If 1, counts events at a privilege level greater than 0." - echo " -os : If 1, counts events at a privilege level 0." exit 0 else echo "Invalid option: " "$1"