* Perf stat: add the date for each measurement
@ 2018-01-11 15:09 Pourroy, Jean
2018-01-12 16:48 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: Pourroy, Jean @ 2018-01-11 15:09 UTC (permalink / raw)
To: linux-perf-users
Hello everyone,
Do you know if there is a way to add the date on each line of the « perf stat » results (first column in the example above).
Here an example of what I want to get:
@../test > perf stat -a -e uncore_imc_0/cas_count_read/ -I 1000 sleep 3
# <date +%s> time counts unit events
1515682946 1.001277764 1.72 MiB uncore_imc_0/cas_count_read/
1515682947 2.002748567 1.90 MiB uncore_imc_0/cas_count_read/
1515682948 3.003294258 4.68 MiB uncore_imc_0/cas_count_read/
…
Best regards,
Jean Pourroy
PHD student
Hewlett Packard Enterprise | ENS Paris-Saclay
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Perf stat: add the date for each measurement
2018-01-11 15:09 Perf stat: add the date for each measurement Pourroy, Jean
@ 2018-01-12 16:48 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-01-12 16:48 UTC (permalink / raw)
To: Pourroy, Jean; +Cc: linux-perf-users
Em Thu, Jan 11, 2018 at 03:09:15PM +0000, Pourroy, Jean escreveu:
> Hello everyone,
>
> Do you know if there is a way to add the date on each line of the « perf stat » results (first column in the example above).
> Here an example of what I want to get:
>
>
> @../test > perf stat -a -e uncore_imc_0/cas_count_read/ -I 1000 sleep 3
>
> # <date +%s> time counts unit events
> 1515682946 1.001277764 1.72 MiB uncore_imc_0/cas_count_read/
> 1515682947 2.002748567 1.90 MiB uncore_imc_0/cas_count_read/
> 1515682948 3.003294258 4.68 MiB uncore_imc_0/cas_count_read/
> …
Not that I can remember, but a patch for that would be welcome :-)
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-12 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-11 15:09 Perf stat: add the date for each measurement Pourroy, Jean
2018-01-12 16:48 ` Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.