perf stat: More advanced variance computation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 4 Sep 2009 15:26:26 +0000 (17:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Sep 2009 15:38:15 +0000 (17:38 +0200)
commit8a02631a470d6f2ccec7bcf79c1058b0d4240bce
treee9dc528dff1db2d7165f315f9c05877265561444
parent63d40deb2e7c64ed55943d49f078e09fc4b64b54
perf stat: More advanced variance computation

Use the more advanced single pass variance algorithm outlined
on the wikipedia page. This is numerically more stable for
larger sample sets.

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