perf counters: implement PERF_COUNT_CPU_CLOCK
authorIngo Molnar <mingo@elte.hu>
Thu, 11 Dec 2008 12:21:10 +0000 (13:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Dec 2008 14:45:52 +0000 (15:45 +0100)
Impact: add new perf-counter type

The 'CPU clock' counter counts the amount of CPU clock time that is
elapsing, in nanoseconds. (regardless of how much of it the task is
spending on a CPU executing)

This counter type is a Linux kernel based abstraction, it is available
even if the hardware does not support native hardware performance counters.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found