Home
last modified time | relevance | path

Searched hist:"63 d40deb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c63d40deb Fri Sep 04 10:03:13 CDT 2009 Peter Zijlstra <a.p.zijlstra@chello.nl> perf stat: Use stddev_mean in stead of stddev

When we're computing the mean by sampling the distribution,
then the std dev of the mean is related to the std dev of the
sample set by:

stddev_mean = std_dev / sqrt(N)

Which is exactly what we want.

This results in the error on the mean decreasing with
increasing number of samples.

Also fix the scaled == -1, aka not counted case.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
63d40deb Fri Sep 04 10:03:13 CDT 2009 Peter Zijlstra <a.p.zijlstra@chello.nl> perf stat: Use stddev_mean in stead of stddev

When we're computing the mean by sampling the distribution,
then the std dev of the mean is related to the std dev of the
sample set by:

stddev_mean = std_dev / sqrt(N)

Which is exactly what we want.

This results in the error on the mean decreasing with
increasing number of samples.

Also fix the scaled == -1, aka not counted case.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>