Hi Xunlei,
On 22 June 2015 at 15:43, Vincent Guittot vincent.guittot@linaro.org wrote:
Hi Xunlei,
On 18 June 2015 at 11:06, Xunlei Pang xlpang@126.com wrote:
From: Xunlei Pang pang.xunlei@linaro.org
DVFS adds a latency in the execution of task because of the time to
if [ "$gov_next" != "" ] ; then
dvfs.sh $gov_next $1 $2 $3 > $FILENAME
data=$(cat $FILENAME |sed -n '1p');
numerator=$(expr $powersave - $data)
numerator=$(expr $numerator \* 100)
if [ $numerator -lt 0 ] ; then
let numerator=0
numerator=0 should be enough
fi
data=$(expr $numerator / $denominator)
echo "$gov_next efficiency: $data%"
fi
done
rm -f $FILENAME
+}