Skip to content
Commit 5c92d124 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

perf counters: implement PERF_COUNT_CPU_CLOCK



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: default avatarIngo Molnar <mingo@elte.hu>
parent 621a01ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment