summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuri Lelli <juri.lelli@arm.com>2016-11-18 16:51:18 +0000
committerJuri Lelli <juri.lelli@arm.com>2016-11-24 18:12:30 +0000
commitfb3ec439b61183b8eaa817878f3b5701a9b891b8 (patch)
tree3539eec958a0e84d782a93e8d53e9699ed3c9349 /doc
parent68851046ce802e6a05d6511997f5197d3193b0bc (diff)
rt-app: convert log header to fixed width spaces
Convert thread logs header to fixed width spaces to improve readability (of both logs and code). Also, update cpufreq_governor_efficiency script accordingly. Signed-off-by: Juri Lelli <juri.lelli@arm.com> Acked-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/examples/cpufreq_governor_efficiency/dvfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/cpufreq_governor_efficiency/dvfs.sh b/doc/examples/cpufreq_governor_efficiency/dvfs.sh
index 7caee7d..ac69a53 100755
--- a/doc/examples/cpufreq_governor_efficiency/dvfs.sh
+++ b/doc/examples/cpufreq_governor_efficiency/dvfs.sh
@@ -32,7 +32,7 @@ if [ $1 ] ; then
sum=0
loop=0
overrun=0
- for i in $(cat rt-app_$1_run$3us_sleep$4us.log | sed '1d;n;d' | sed '1d' |cut -f 3); do
+ for i in $(cat rt-app_$1_run$3us_sleep$4us.log | sed '1d;n;d' | sed '1d' | awk '{print $3}'); do
loop=$(expr $loop + 1)
sum=$(expr $sum + $i)
if [ $4 -le $i ] ; then