linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* task-clock vs. cpu-clock; per-event documentation
@ 2015-08-05 12:55 Milian Wolff
  2015-08-05 13:07 ` Andreas Hollmann
  0 siblings, 1 reply; 3+ messages in thread
From: Milian Wolff @ 2015-08-05 12:55 UTC (permalink / raw)
  To: linux-perf-users

Hello all,

I was asked by a colleague of mine what the difference between task-clock and 
cpu-clock is. I found many similar questions on the web, but none have a final 
answer:

http://stackoverflow.com/questions/23965363/linux-perf-events-cpu-clock-and-task-clock-what-is-the-difference
https://lkml.org/lkml/2010/11/3/373

Could someone explain the difference between the two counters for a non-kernel 
person? What is a task for that matter? When I compare the counters on test 
applications, they deviate only marginally.

In general, is there hope for more documentation on the individual performance 
counters? Perf list shows what's available but has no information whatsoever 
about the actual meaning of the counters. It would be excellent to also 
explain how to interpret the counter, or in what case you'd want to look at a 
given event.

Thanks
-- 
Milian Wolff
mail@milianw.de
http://milianw.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-05 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 12:55 task-clock vs. cpu-clock; per-event documentation Milian Wolff
2015-08-05 13:07 ` Andreas Hollmann
2015-08-05 13:38   ` Milian Wolff

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).