Skip to content

Commit 9d1914d

Browse files
committed
refperf: Output per-experiment data points
Currently, it is necessary to manually edit the console output to see anything more than statistics, and sometimes the statistics can indicate outliers that need more investigation. This commit therefore dumps out the per-experiment measurements, sorted in ascending order, just before dumping out the statistics. Cc: Joel Fernandes (Google) <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent 6efb063 commit 9d1914d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ END {
5959
medianvalue = (readertimes[medianidx - 1] + readertimes[medianidx]) / 2;
6060
else
6161
medianvalue = readertimes[medianidx];
62+
points = "Points:";
63+
for (i = 1; i <= newNR; i++)
64+
points = points " " readertimes[i];
65+
print points;
6266
print "Average reader duration: " sum / newNR " nanoseconds";
6367
print "Minimum reader duration: " readertimes[1];
6468
print "Median reader duration: " medianvalue;

0 commit comments

Comments
 (0)