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

perf counters: implement PERF_COUNT_TASK_CLOCK



Impact: add new perf-counter type

The 'task clock' counter counts the amount of time a task is executing,
in nanoseconds. It stops ticking when a task is scheduled out either due
to it blocking, sleeping or it being preempted.

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 01b2838c
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