summaryrefslogtreecommitdiff
path: root/arch/h8300
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-09-04 15:36:12 +0200
committerIngo Molnar <mingo@elte.hu>2009-09-04 16:33:07 +0200
commit506d4bc8d5dab20d84624aa07cdc6dcd77915d52 (patch)
tree48036f6ace4d499a772f172a2dfcea69ffb79fc1 /arch/h8300
parent1653192f510bd8114b7b133d7289e6e5c3e95046 (diff)
perf stat: Change noise calculation to use stddev
The current noise computation does: \Sum abs(n_i - avg(n)) * N^-1.5 Which is (afaik) not a regular noise function, and needs the complete sample set available to post-process. Change this to use a regular stddev computation which can be done by keeping a two sums: stddev = sqrt( 1/N (\Sum n_i^2) - avg(n)^2 ) For which we only need to keep \Sum n_i and \Sum n_i^2. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: <stable@kernel.org> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions