Created
November 15, 2016 16:20
-
-
Save lsandov1/2f72c841cc0e1aa739c311c06fda2bdc to your computer and use it in GitHub Desktop.
Create buildstats data plots
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PPLIMAGE='set terminal png fontscale 1 size 1280,720' | |
function bsplots() { | |
local STAT=$1 | |
OUT="set output '$STAT.task-recipe.png'" | |
../scripts/contrib/bb-perf/buildstats-plot.sh -s "$STAT" -n 20 > input.gpl | |
gnuplot -e "$GPLIMAGE;$OUT" input.gpl | |
OUT="set output '$STAT.task.png'" | |
../scripts/contrib/bb-perf/buildstats-plot.sh -s "$STAT" -S > input.gpl | |
gnuplot -e "$GPLIMAGE;$OUT" input.gpl | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment