perf kvm stat: Properly show submicrosecond times
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 31 Jul 2014 11:13:51 +0000 (13:13 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 2 Aug 2014 13:21:11 +0000 (10:21 -0300)
commitb048a24cc8f29dce1bad564aaeb8680020d3701c
tree4f67856ef55435706147479ca3964c768c3eccc8
parent972f393bc8870e236edbd2ea0150a8da85b709e2
perf kvm stat: Properly show submicrosecond times

For lots of exits the min time (and sometimes max) is 0 or 1. Lets
increase the accurancy similar to what the average field alread does.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Link: http://lkml.kernel.org/r/1406805231-10675-2-git-send-email-borntraeger@de.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c