Re: [PATCH] perf, tools: Support spark lines in perf stat v2

From: Andi Kleen
Date: Tue May 13 2014 - 10:08:37 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:
>
> Hmm, my first looking at the spark thingies interpreted them as a
> histogram. But they're not really.

It's a histogram of variance.

> Would it be possible to make it a histogram of -2sigma,2sigma around the
> avg value? That way you can plot all data and get a good idea of the
> distribution. I'd suggest using 9 buckets for it.

I doubt that would work well with only ~8 values.
This would need multiple lines or a real plotter,
otherwise you would have all kinds of odd corner cases.

Sparklines are much better for limited space.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/