while [ $# -gt 0 ]; do
case "$1" in
+ -P) OPT_PLOT_DISABLE=1; shift;;
-p) OPT_PLOT_ONLY=1; shift;;
-X|--no-x11-plot) OPT_NO_X11=1; shift;;
esac
-e 's/ *$//'|tr -s ' ' '_')
v=$(uname -r)
[ -n "$cmdline" ] && v="$v:$cmdline"
+ [ -n "$KVERS" ] && v=$KVERS
echo $v
}
if [ ! -n "$OPT_PLOT_ONLY" ]; then
cpufreq-set -f ${clk}MHz
run_tests
- cpufreq-set -f 2400MHz
+ cpufreq-set -f ${mhz}MHz
+ else
+ unset OPT_PLOT_DISABLE
+ fi
+ if [ ! -n "$OPT_PLOT_DISABLE" ]; then
+ plot
fi
- plot
popd
set +x
done