perf stat: Suppress printing std-dev when its 0
authorJim Cromie <jim.cromie@gmail.com>
Wed, 7 Sep 2011 23:14:02 +0000 (17:14 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2011 20:04:00 +0000 (17:04 -0300)
commita1bca6cc87fee26f3d9120b3f3418b7edfc91ec2
treedb56295dc56de5d37cc91bb24f04e3e5ac88accc
parent19f4740255668ca297dcf9f02d80eb9bc87a1d66
perf stat: Suppress printing std-dev when its 0

For pretty output only (preserve column for cvs output), dont print
std-deviation when its 0.00.  Do this based upon value, instead of
checking for --no-aggr, since the stats could conceivably be computed
over the runs on each CPU, and theres no reason to preclude that.

Link: http://lkml.kernel.org/r/1315437244-3788-4-git-send-email-jim.cromie@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c