From: compudj Date: Tue, 8 Apr 2008 04:45:55 +0000 (+0000) Subject: update X-Git-Tag: v0.12.20~618 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=255c10a8debfc726d8bb37e93d2e9f93a0c7bb90;p=lttv.git update git-svn-id: http://ltt.polymtl.ca/svn@2871 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/markers-test/runtest.sh b/markers-test/runtest.sh index 35f95081..0f290121 100644 --- a/markers-test/runtest.sh +++ b/markers-test/runtest.sh @@ -7,16 +7,19 @@ ITER=10 LOOPS=20000 insmod test-mark-speed-empty.ko +cat /proc/testmark for a in `seq 1 $ITER`; do cat /proc/testmark;done rmmod test-mark-speed-empty RESEMP=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` insmod test-mark-speed.ko +cat /proc/testmark for a in `seq 1 $ITER`; do cat /proc/testmark;done rmmod test-mark-speed RESSTD=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` insmod test-mark-speed-opt.ko +cat /proc/testmark for a in `seq 1 $ITER`; do cat /proc/testmark;done rmmod test-mark-speed-opt RESOPT=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` @@ -42,16 +45,19 @@ make clean make EXTRA_CFLAGS=-DCACHEFLUSH insmod test-mark-speed-empty.ko +cat /proc/testmark for a in `seq 1 $ITER`; do cat /proc/testmark;done rmmod test-mark-speed-empty RESEMPFL=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` insmod test-mark-speed.ko +cat /proc/testmark for a in `seq 1 $ITER`; do cat /proc/testmark;done rmmod test-mark-speed RESSTDFL=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'` insmod test-mark-speed-opt.ko +cat /proc/testmark for a in `seq 1 $ITER`; do cat /proc/testmark;done rmmod test-mark-speed-opt RESOPTFL=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'`