minor change

This commit is contained in:
Andreas Abel
2022-01-20 23:21:10 +01:00
parent 0ef60f2a59
commit 7f7a7eb53a

View File

@@ -47,6 +47,9 @@ while [ "$1" ]; do
elif [[ "$1" == -code_i* ]]; then
echo -n "$2" > /sys/nb/init
shift 2
elif [[ "$1" == -code_l* ]]; then
echo -n "$2" > /sys/nb/late_init
shift 2
elif [[ "$1" == -code_o* ]]; then
echo -n "$2" > /sys/nb/one_time_init
shift 2
@@ -119,9 +122,11 @@ while [ "$1" ]; do
echo " -asm <code>: Assembler code string (in Intel syntax) to be benchmarked."
echo " -asm_init <code>: Assembler code string (in Intel syntax) to be executed once in the beginning."
echo " -asm_late_init <code>: Assembler code string (in Intel syntax) to be executed once immediately before the code to be benchmarked."
echo " -asm_one_time_init <code>: Assembler code string (in Intel syntax) to be executed once before the first measurement."
echo " -code <filename>: Binary file containing the code to be benchmarked."
echo " -code_init <filename>: Binary file containing code to be executed once in the beginning."
echo " -code_late_init <filename>: Binary file containing code to be executed once immediately before the code to be benchmarked."
echo " -code_one_time_init <filename>: Binary file containing code to be executed once before the first measurement."
echo " -config <filename>: File with performance counter event specifications."
echo " -fixed_counters: Reads the fixed-function performance counters.\n"
echo " -n_measurements <n>: Number of times the measurements are repeated."