Common subdirectories: latencytest0.42-png/2.4.0-test6-html and latencytest0.42-png-HACKED/2.4.0-test6-html diff -N latencytest0.42-png/Makefile latencytest0.42-png-HACKED/Makefile 16a17 > 26c27 < latencytest.o: latencytest.c --- > latencytest.o: latencytest.c latencytest.h 29c30 < rtc_latencytest.o: rtc_latencytest.c --- > rtc_latencytest.o: rtc_latencytest.c latencytest.h diff -N latencytest0.42-png/README latencytest0.42-png-HACKED/README 155c155 < ./do_tests none 3 256 0 350000000 --- > ./do_tests none 3 256 0 350000000 /home/foo/tmp 177a178,179 > There is now also an optional sixth argument which is the directory to use > for the temporary files. 196c198 < cpu_load ( default 0.80 = 80% ) in latencytest.c and rtc_latencytest.c --- > cpu_load ( default 0.80 = 80% ) in latencytest.h diff -N latencytest0.42-png/diskstress latencytest0.42-png-HACKED/diskstress 2c2 < head -c 60000000 /dev/zero >tmpfile --- > head -c 60000000 /dev/zero >$TMPDIR/tmpfile 15c15 < cp tmpfile tmpfile2 --- > cp $TMPDIR/tmpfile $TMPDIR/tmpfile2 17c17 < cat tmpfile tmpfile2 >/dev/null --- > cat $TMPDIR/tmpfile $TMPDIR/tmpfile2 >/dev/null diff -N latencytest0.42-png/do_cpu_tests latencytest0.42-png-HACKED/do_cpu_tests 45c45 < rm -f tmpfile tmpfile2 --- > rm -f $TMPDIR/tmpfile $TMPDIR/tmpfile2 diff -N latencytest0.42-png/do_rtc_tests latencytest0.42-png-HACKED/do_rtc_tests 30c30 < ls -la tmpfile* --- > ls -la $TMPDIR/tmpfile* 41c41 < ls -la tmpfile* --- > ls -la $TMPDIR/tmpfile* 51c51 < ls -la tmpfile* --- > ls -la $TMPDIR/tmpfile* 54c54 < rm -f tmpfile tmpfile2 --- > rm -f $TMPDIR/tmpfile $TMPDIR/tmpfile2 diff -N latencytest0.42-png/do_tests latencytest0.42-png-HACKED/do_tests 1a2,11 > > if [ $6 ]; then > export TMPDIR=$6 > echo "TMPDIR given as " $6 > else > echo "TMPDIR defaults to " $PWD > export TMPDIR=$PWD > fi > > 23a34 > echo $TMPDIR 30c41 < ls -la tmpfile* --- > ls -la $TMPDIR/tmpfile* 41c52 < ls -la tmpfile* --- > ls -la $TMPDIR/tmpfile* 51c62 < ls -la tmpfile* --- > ls -la $TMPDIR/tmpfile* 54,55c65,66 < rm -f tmpfile tmpfile2 < --- > rm -f $TMPDIR/tmpfile $TMPDIR/tmpfile2 > export -n TMPDIR diff -N latencytest0.42-png/genhtml latencytest0.42-png-HACKED/genhtml 2a3 > cpu=`grep "cpu" latencytest.h | sed -e "s/double cpu_load=0.//;s/;//"` 4c5 < sed -e "s/_label1_/$label1/;s/_filelabel_/$filelabel/" html/$filelabel.html --- > sed -e "s/_label1_/$label1/;s/_filelabel_/$filelabel/;s/_label2_/$cpu/g" html/$filelabel.html Common subdirectories: latencytest0.42-png/html and latencytest0.42-png-HACKED/html diff -N latencytest0.42-png/latency.out latencytest0.42-png-HACKED/latency.out 2,9c2,5 < cpu latency = 1.102948 ms < 1.5ms ( 0)| < 1MS num_time_samples=492 num_times_within_1ms=492 factor=100.000000 < 2MS num_time_samples=492 num_times_within_2ms=492 factor=100.000000 < PIXEL_PER_MS=103 < 1.5ms ( 0)| < 1MS num_time_samples=492 num_times_within_1ms=492 factor=100.000000 < 2MS num_time_samples=492 num_times_within_2ms=492 factor=100.000000 --- > cpu latency = 1.088435 ms > 12.2ms ( 16)| > 1MS num_time_samples=38228 num_times_within_1ms=38146 factor=99.785498 > 2MS num_time_samples=38228 num_times_within_2ms=38212 factor=99.958146 Binary files latencytest0.42-png/latencytest and latencytest0.42-png-HACKED/latencytest differ diff -N latencytest0.42-png/latencytest.c latencytest0.42-png-HACKED/latencytest.c 17,19c17 < #define DEBUG 0 < < #define MAX_TIME_SAMPLES 250000 --- > #include "latencytest.h" 21c19 < double cpu_load=0.76; --- > #define DEBUG 0 97,98d94 < < #define MYSONGSIZE 25000000 diff -N latencytest0.42-png/latencytest.h latencytest0.42-png-HACKED/latencytest.h 0a1,6 > #define MAX_TIME_SAMPLES 250000 > > #define MYSONGSIZE 25000000 > > double cpu_load=0.80; > Binary files latencytest0.42-png/latencytest.o and latencytest0.42-png-HACKED/latencytest.o differ Binary files latencytest0.42-png/rtc_latencytest and latencytest0.42-png-HACKED/rtc_latencytest differ diff -N latencytest0.42-png/rtc_latencytest.c latencytest0.42-png-HACKED/rtc_latencytest.c 17,19c17 < #define DEBUG 1 < < #define MAX_TIME_SAMPLES 250000 --- > #include "latencytest.h" 21c19 < double cpu_load=0.80; --- > #define DEBUG 1 103c101 < #define MYSONGSIZE 25000000 --- > Binary files latencytest0.42-png/rtc_latencytest.o and latencytest0.42-png-HACKED/rtc_latencytest.o differ diff -N latencytest0.42-png/stress_diskcopy latencytest0.42-png-HACKED/stress_diskcopy 1c1 < cp tmpfile tmpfile2 --- > cp $TMPDIR/tmpfile $TMPDIR/tmpfile2 diff -N latencytest0.42-png/stress_diskread latencytest0.42-png-HACKED/stress_diskread 1c1 < cat tmpfile tmpfile2 >/dev/null --- > cat $TMPDIR/tmpfile $TMPDIR/tmpfile2 >/dev/null diff -N latencytest0.42-png/stress_diskwrite latencytest0.42-png-HACKED/stress_diskwrite 1c1 < head -c $1 /dev/zero >tmpfile --- > head -c $1 /dev/zero >$TMPDIR/tmpfile diff -N latencytest0.42-png/template.html latencytest0.42-png-HACKED/template.html 6a7 >

cpu load: _label2_ %

19c20 < loop (which is calibrated at 80% of the fragment time) --- > loop (which is calibrated at _label2_% of the fragment time)