sched_clock: Add local_clock() API and improve documentation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 25 May 2010 08:48:51 +0000 (10:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jun 2010 08:34:49 +0000 (10:34 +0200)
commitc676329abb2b8359d9a5d734dec0c81779823fd6
treeb6c33715176221a87100228399c2a6f5049e44ea
parent95ae3c59fa8ad616c73745e21154b5af0fb10168
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
u64 mess.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jens Axboe <jaxboe@fusionio.com>
LKML-Reference: <1275052414.1645.52.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/parisc/kernel/ftrace.c
include/linux/sched.h
kernel/lockdep.c
kernel/perf_event.c
kernel/rcutorture.c
kernel/sched.c
kernel/sched_clock.c
kernel/trace/trace_clock.c