[oe-commits] Peter Kjellerstedt : bb-matrix-plot: Use interpolation for sparse data

git at git.openembedded.org git at git.openembedded.org
Sat Sep 14 07:17:50 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 9642c1314da64c70254f6b012aa73ef37bbaa33f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9642c1314da64c70254f6b012aa73ef37bbaa33f

Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Date:   Tue Sep 10 14:20:10 2013 +0200

bb-matrix-plot: Use interpolation for sparse data

If not every combination of BB_NUMBER_THREADS and PARALLEL_MAKE have
been tested by bb-matrix.sh, e.g., by using BB_RANGE="04 08 10 12 16"
and PM_RANGE="04 08 10 12 16", then the graph that gnuplot generates by
default looks very jagged due to the missing data points. By using
splines to interpolate the missing data the graph looks a lot better.

This should not change graphs where all data points are available in any
way, only improve sparse graphs.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/contrib/bb-perf/bb-matrix-plot.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/contrib/bb-perf/bb-matrix-plot.sh b/scripts/contrib/bb-perf/bb-matrix-plot.sh
index 87e8cb1..136a255 100755
--- a/scripts/contrib/bb-perf/bb-matrix-plot.sh
+++ b/scripts/contrib/bb-perf/bb-matrix-plot.sh
@@ -115,7 +115,7 @@ set xlabel "$XLABEL"
 set ylabel "$YLABEL"
 set style line 100 lt 5 lw 1.5
 $PM3D_FRAGMENT
-set dgrid3d $PM_CNT,$BB_CNT
+set dgrid3d $PM_CNT,$BB_CNT splines
 set ticslevel 0.2
 
 set term png size $SIZE



More information about the Openembedded-commits mailing list