sched_clock: Add local_clock() API and improve documentation
For people who otherwise get to write: cpu_clock(smp_processor_id()),
there is now: local_clock().
Also, as per suggestion from Andrew, provide some documentation on
the various clock interfaces, and minimize the unsigned long long vs
Signed-off-by: Peter Zijlstra <email@example.com>
Cc: Andrew Morton <firstname.lastname@example.org>
Cc: Linus Torvalds <email@example.com>
Cc: Jens Axboe <firstname.lastname@example.org>
Signed-off-by: Ingo Molnar <email@example.com>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.