From: "Pourroy, Jean" <jean.pourroy@hpe.com>
To: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: Perf stat: add the date for each measurement
Date: Thu, 11 Jan 2018 15:09:15 +0000 [thread overview]
Message-ID: <416177EA-7E58-419F-8E1B-81118DEB8152@hpe.com> (raw)
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
next reply other threads:[~2018-01-11 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-11 15:09 Pourroy, Jean [this message]
2018-01-12 16:48 ` Perf stat: add the date for each measurement Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=416177EA-7E58-419F-8E1B-81118DEB8152@hpe.com \
--to=jean.pourroy@hpe.com \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.