102-testing-doallspeeds.patch 563 B

12345678910111213141516
  1. --- a/testing/doallspeeds.sh
  2. +++ b/testing/doallspeeds.sh
  3. @@ -25,11 +25,11 @@ for f in ../*/*.pat; do
  4. printf `basename $f .pat`
  5. if [ $userspace ]; then
  6. - gtime=`./timeit.sh $f userspace real | grep Total | cut -d\ -f 2`
  7. + gtime=`./timeit.sh $f userspace real | grep Total | cut -d\ -f 2 | awk '{print $1}'`
  8. printf \\t$gtime
  9. fi
  10. if [ $kernel ]; then
  11. - htime=`./timeit.sh $f kernel real | grep Total | cut -d\ -f 2`
  12. + htime=`./timeit.sh $f kernel real | grep Total | cut -d\ -f 2 | awk '{print $1}'`
  13. printf \\t$htime
  14. fi
  15. printf \\n