Skip to content

Instantly share code, notes, and snippets.

@lsandov1
Created November 15, 2016 16:20
Show Gist options
  • Save lsandov1/2f72c841cc0e1aa739c311c06fda2bdc to your computer and use it in GitHub Desktop.
Save lsandov1/2f72c841cc0e1aa739c311c06fda2bdc to your computer and use it in GitHub Desktop.
Create buildstats data plots
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