diff --git a/plot-timing.sh b/plot-timing.sh index dc65b88..27320cf 100755 --- a/plot-timing.sh +++ b/plot-timing.sh @@ -12,12 +12,13 @@ BEGIN { \ mini[foo] = 666; \ maxi[foo] = -42; \ } \ - } \ - { \ - accu[$1] += $2; \ - count[$1]++; \ - if (mini[$1] > $2) mini[$1] = $2; \ - if (maxi[$1] < $2) maxi[$1] = $2; \ + } + \ +$1=="orbite" { \ + accu[$2] += $3; \ + count[$2]++; \ + if (mini[$2] > $3) mini[$2] = $3; \ + if (maxi[$2] < $3) maxi[$2] = $3; \ } \ END { \ for (foo=0; foo