perf stat: Update walltime_nsecs_stats in interval mode
commitb90f1333ef08d2a497ae239798868b046f4e3a97
authorAndi Kleen <ak@linux.intel.com>
Thu, 31 Aug 2017 19:40:36 +0000 (31 12:40 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Sep 2017 12:49:14 +0000 (13 09:49 -0300)
tree3c2914d81f1ce278224f136573ac24ce4fd42f9e
parente864c5ca145e49bfce4847bd14b47b5f8549b2b1
perf stat: Update walltime_nsecs_stats in interval mode

Some metrics (like GFLOPs) need walltime_nsecs_stats for each interval.
Compute it for each interval instead of only at the end.

Pointed out by Jiri.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170831194036.30146-12-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c