Re: perf: Add duration_time to perf stat

2019-03-27 Thread Jiri Olsa
On Tue, Mar 26, 2019 at 03:18:19PM -0700, Andi Kleen wrote: > Currently it's not possible to get the wall clock time of a measurement > in CSV mode output, it's only in the non CSV perf stat output. > Often this is needed to normalize event counts to time. > > Add a new duration_time event that ca

perf: Add duration_time to perf stat

2019-03-26 Thread Andi Kleen
Currently it's not possible to get the wall clock time of a measurement in CSV mode output, it's only in the non CSV perf stat output. Often this is needed to normalize event counts to time. Add a new duration_time event that can be specified and reports the wall clock time in ns.