move everything out of trunk
[lttv.git] / markers-test / runtest.sh
index 986a6e16ac6f1214b74fdbbfcead9f6e7f1976a7..ceb4afcf1e63a5d6cece296af2a4a46062b98345 100644 (file)
@@ -41,10 +41,9 @@ rmmod test-mark-speed-local
 RESNOPLOCAL=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'`
 
 
-#make clean
-#make EXTRA_CFLAGS=-DCACHEFLUSH
+make clean
+make EXTRA_CFLAGS=-DCACHEFLUSH
 
-modprobe cachectl
 
 insmod test-mark-speed-empty.ko
 cat /proc/testmark
@@ -81,8 +80,6 @@ rmmod test-mark-speed-local
 RESNOPLOCALFL=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'`
 
 
-rmmod cachectl
-
 
 echo "Results in cycles per loop"
 
@@ -92,7 +89,7 @@ for a in $RESEMP; do SUM=`echo "$SUM + $a" | bc -l /dev/stdin`; done
 RESEMP=`echo $SUM/$ITER/$LOOPS | bc -l /dev/stdin`
 echo $RESEMP
 
-echo "Cycles for wbinvd() loop (will be substracted non-cached runs)"
+echo "Cycles for clflush() loop (will be substracted non-cached runs)"
 SUM="0"
 for a in $RESEMPFL; do SUM=`echo "$SUM + $a" | bc -l /dev/stdin`; done
 RESEMPFL=`echo $SUM/$ITER/$LOOPS | bc -l /dev/stdin`
This page took 0.023208 seconds and 4 git commands to generate.