|
@@ -34,9 +34,13 @@ fi
|
|
|
|
|
|
configfile=`echo $i | sed -e 's/^.*\///'`
|
|
configfile=`echo $i | sed -e 's/^.*\///'`
|
|
ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'`
|
|
ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'`
|
|
|
|
+stopstate="`grep 'End-test grace-period state: g' $i/console.log 2> /dev/null |
|
|
|
|
+ tail -1 | sed -e 's/^\[[ 0-9.]*] //' |
|
|
|
|
+ awk '{ print \"[\" $1 \" \" $5 \" \" $6 \" \" $7 \"]\"; }' |
|
|
|
|
+ tr -d '\012\015'`"
|
|
if test -z "$ngps"
|
|
if test -z "$ngps"
|
|
then
|
|
then
|
|
- echo "$configfile -------"
|
|
|
|
|
|
+ echo "$configfile ------- " $stopstate
|
|
else
|
|
else
|
|
title="$configfile ------- $ngps grace periods"
|
|
title="$configfile ------- $ngps grace periods"
|
|
dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null`
|
|
dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null`
|
|
@@ -48,7 +52,7 @@ else
|
|
BEGIN { print ngps / dur }' < /dev/null`
|
|
BEGIN { print ngps / dur }' < /dev/null`
|
|
title="$title ($ngpsps per second)"
|
|
title="$title ($ngpsps per second)"
|
|
fi
|
|
fi
|
|
- echo $title
|
|
|
|
|
|
+ echo $title $stopstate
|
|
nclosecalls=`grep --binary-files=text 'torture: Reader Batch' $i/console.log | tail -1 | awk '{for (i=NF-8;i<=NF;i++) sum+=$i; } END {print sum}'`
|
|
nclosecalls=`grep --binary-files=text 'torture: Reader Batch' $i/console.log | tail -1 | awk '{for (i=NF-8;i<=NF;i++) sum+=$i; } END {print sum}'`
|
|
if test -z "$nclosecalls"
|
|
if test -z "$nclosecalls"
|
|
then
|
|
then
|