* observations at periodic intervals
@ 2015-11-06 21:06 José Simão
2015-11-09 15:00 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: José Simão @ 2015-11-06 21:06 UTC (permalink / raw)
To: linux-perf-users
Dear user of linux-perf-users@vger.kernel.org,
When using the -I option of 'stat' to periodically collect the value
of performance counters (e.g. perf stat -e cache-misses -I 500 cmd)
the reported value at each internal (500ms in the example) is how much
the selected counter increased since the last observation?
I assume it is because the values are not monotonically increasing.
Best,
Jose
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: observations at periodic intervals
2015-11-06 21:06 observations at periodic intervals José Simão
@ 2015-11-09 15:00 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-11-09 15:00 UTC (permalink / raw)
To: José Simão; +Cc: linux-perf-users
Em Fri, Nov 06, 2015 at 09:06:14PM +0000, José Simão escreveu:
> Dear user of linux-perf-users@vger.kernel.org,
>
> When using the -I option of 'stat' to periodically collect the value
> of performance counters (e.g. perf stat -e cache-misses -I 500 cmd)
> the reported value at each internal (500ms in the example) is how much
> the selected counter increased since the last observation?
>
> I assume it is because the values are not monotonically increasing.
From 'perf stat --help' /-I
-I msecs, --interval-print msecs
Print count deltas every N milliseconds (minimum: 100ms)
example: perf stat -I 1000 -e cycles -a sleep 5
This is also available via 'man perf-stat'
So, yes, your observation is correct, those are deltas.
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-09 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06 21:06 observations at periodic intervals José Simão
2015-11-09 15:00 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).