From 46f7c1780867c6c52b122caaed47bf846afa1773 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 7 Apr 2008 15:13:30 +0000 Subject: [PATCH] runtest git-svn-id: http://ltt.polymtl.ca/svn@2844 04897980-b3bd-0310-b5e0-8ef037075253 --- markers-test/runtest.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/markers-test/runtest.sh b/markers-test/runtest.sh index a7dc1965..45b0519a 100644 --- a/markers-test/runtest.sh +++ b/markers-test/runtest.sh @@ -3,22 +3,22 @@ insmod test-mark-speed-empty.ko for a in `seq 1 10`; do cat /proc/testmark;done rmmod test-mark-speed-empty -RESEMP=`dmesg |tail -n 10 |sed 's/^\[.*\] cycles : \(.*\)$/\1/'` +RESEMP=`dmesg |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` insmod test-mark-speed.ko for a in `seq 1 10`; do cat /proc/testmark;done rmmod test-mark-speed -RESSTD=`dmesg |tail -n 10 |sed 's/^\[.*\] cycles : \(.*\)$/\1/'` +RESSTD=`dmesg |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` insmod test-mark-speed-opt.ko for a in `seq 1 10`; do cat /proc/testmark;done rmmod test-mark-speed-opt -RESOPT=`dmesg |tail -n 10|sed 's/^\[.*\] cycles : \(.*\)$/\1/'` +RESOPT=`dmesg |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` insmod test-mark-speed-edit.ko for a in `seq 1 10`; do cat /proc/testmark;done rmmod test-mark-speed-edit -RESNOP=`dmesg |tail -n 10|sed 's/^\[.*\] cycles : \(.*\)$/\1/'` +RESNOP=`dmesg |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` echo "20000 iterations" -- 2.34.1