perf stat: Clean up statistics calculations a bit more
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 4 Sep 2009 16:23:38 +0000 (18:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 4 Sep 2009 18:27:26 +0000 (20:27 +0200)
commit849abde92bd3314a4894f2b4f70b30c2accf8653
tree10249b655b074635bf2c46f25af0c54c894606c3
parent8a02631a470d6f2ccec7bcf79c1058b0d4240bce
perf stat: Clean up statistics calculations a bit more

Remove some, now useless, global storage.
Don't calculate the stddev when not needed.

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