mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-20 01:30:07 +00:00
Fixes to total power plot generation
This commit is contained in:
parent
f6b4022511
commit
df9d43c62d
@ -14,6 +14,7 @@ for f in `echo data-*`
|
|||||||
cp lost-$f lost
|
cp lost-$f lost
|
||||||
cp dup-$f dup
|
cp dup-$f dup
|
||||||
cp parent-$f parent
|
cp parent-$f parent
|
||||||
|
cp power-$f power
|
||||||
gnuplot plot-all
|
gnuplot plot-all
|
||||||
for p in `echo plot-*.eps`
|
for p in `echo plot-*.eps`
|
||||||
do
|
do
|
||||||
|
@ -8,18 +8,18 @@ set style fill pattern
|
|||||||
#set key top left Left width -5
|
#set key top left Left width -5
|
||||||
|
|
||||||
plot [:] [0:] \
|
plot [:] [0:] \
|
||||||
'power' using \
|
'total-power' using \
|
||||||
2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5 + 17.7 * $6 + 4.6 * $7) / 4096) * 3 / $1 \
|
2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5 + 17.7 * $6 + 4.6 * $7) / 4096) * 3 / $1 \
|
||||||
with boxes title "Red LED", \
|
with boxes title "Red LED", \
|
||||||
'power' using \
|
'total-power' using \
|
||||||
2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5 + 17.7 * $6) / 4096) * 3 / $1 \
|
2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5 + 17.7 * $6) / 4096) * 3 / $1 \
|
||||||
with boxes title "Radio transmit", \
|
with boxes title "Radio transmit", \
|
||||||
'power' using \
|
'total-power' using \
|
||||||
2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5) / 4096) * 3 / $1 \
|
2:((0.0545 * $3 + 1.8 * $4 + 20.0 * $5) / 4096) * 3 / $1 \
|
||||||
with boxes title "CPU low-power mode", \
|
with boxes title "CPU low-power mode", \
|
||||||
'power' using \
|
'total-power' using \
|
||||||
2:((1.8 * $4 + 20.0 * $5) / 4096) * 3 / $1 \
|
2:((1.8 * $4 + 20.0 * $5) / 4096) * 3 / $1 \
|
||||||
with boxes title "CPU active mode", \
|
with boxes title "CPU active mode", \
|
||||||
'power' using \
|
'total-power' using \
|
||||||
2:((20.0 * $5) / 4096) * 3 / $1 \
|
2:((20.0 * $5) / 4096) * 3 / $1 \
|
||||||
with boxes title "Radio reception"
|
with boxes title "Radio reception"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user