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
-insmod cachectl.ko
insmod test-mark-speed-empty.ko
cat /proc/testmark
RESNOPLOCALFL=`dmesg |grep "cycles : " |tail -n 10 |sed 's/^\[.*\] //'| sed 's/cycles : \(.*\)$/\1/'`
-rmmod cachectl
-
echo "Results in cycles per loop"