projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Yet more tests for quick tests.
[yaffs2.git]
/
linux-tests
/
plot_data.sh
diff --git
a/linux-tests/plot_data.sh
b/linux-tests/plot_data.sh
index cd5a1cd6f8992af4b5865b3cb50e22ba7a46b4d5..dcc1de3c951f8ee68fec238bfae663eb0e9854bf 100755
(executable)
--- a/
linux-tests/plot_data.sh
+++ b/
linux-tests/plot_data.sh
@@
-28,7
+28,7
@@
while [ ! -e $done_file ] ; do
str=$(cat /proc/yaffs_stats)
echo "$i, $str"
echo "$i, $str" >> $log_file
str=$(cat /proc/yaffs_stats)
echo "$i, $str"
echo "$i, $str" >> $log_file
-let i=$i+1
+i=$(($i+1))
sleep $gather_delay
done
}
sleep $gather_delay
done
}
@@
-44,7
+44,10
@@
tail -$plot_samples $log_file > $trunc_file
plot_str=" plot '$trunc_file' using 1:3 with linespoints title 'free', '' using 1:4 with linespoints title 'erased'"
plot_str=" plot '$trunc_file' using 1:3 with linespoints title 'free', '' using 1:4 with linespoints title 'erased'"
-echo "set title 'yaffs free space and erased space'"
+echo "set title 'yaffs free space vs erased space'"
+echo "set xlabel 'seconds'"
+echo "set ylabel 'chunks'"
+
echo $plot_str
echo $plot_str