commit | 5c92d12411dfe5f0f3d1b1c1e2f756245e6f7249 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Thu Dec 11 13:21:10 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Dec 11 15:45:52 2008 +0100 |
tree | 498b78f995d917aa513cf15ada480327224c0277 | |
parent | 621a01eac89b5e2f81a4cf576568b31f40a02724 [diff] |
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: Ingo Molnar <mingo@elte.hu>