You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
563 B

  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