code alignment

This commit is contained in:
Andreas Abel
2020-05-11 23:39:33 +02:00
parent 47101197a9
commit b40b898de8
7 changed files with 72 additions and 20 deletions

View File

@@ -83,6 +83,9 @@ while [ "$1" ]; do
elif [[ "$1" == -initial* ]]; then
echo "$2" > /sys/nb/initial_warm_up
shift 2
elif [[ "$1" == -al* ]]; then
echo "$2" > /sys/nb/alignment_offset
shift 2
elif [[ "$1" == -min* ]]; then
echo "min" > /sys/nb/agg
shift
@@ -105,6 +108,7 @@ while [ "$1" ]; do
echo " -loop_count <n>: Number of iterations of the inner loop."
echo " -warm_up_count <n>: Number of runs before the first measurement gets recorded."
echo " -initial_warm_up_count <n>: Number of runs before any measurement is performed."
echo " -alignment_offset <n>: Alignment offset."
echo " -avg: Selects the arithmetic mean as the aggregate function."
echo " -median: Selects the median as the aggregate function."
echo " -min: Selects the minimum as the aggregate function."