mirror of
https://github.com/andreas-abel/nanoBench.git
synced 2025-12-16 11:30:07 +01:00
minor change
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user