summaryrefslogtreecommitdiff
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-04 15:03:13 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-09-04 15:38:14 (GMT)
commit63d40deb2e7c64ed55943d49f078e09fc4b64b54 (patch)
treedf36ad086b762f87b6f53ff8750b62e25b2cce07 /kernel/ksysfs.c
parent9e9772c458d50dabdb5327821da3803254638cd1 (diff)
downloadlinux-fsl-qoriq-63d40deb2e7c64ed55943d49f078e09fc4b64b54.tar.xz
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>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions