Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [c67632] Maximize Restore History

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>

Peter Zijlstra Peter Zijlstra 2010-05-25

Ingo Molnar Ingo Molnar 2010-06-09

changed arch
changed arch/parisc
changed arch/parisc/kernel
changed arch/parisc/kernel/ftrace.c
changed include
changed include/linux
changed include/linux/sched.h
changed kernel
changed kernel/lockdep.c
changed kernel/perf_event.c
changed kernel/rcutorture.c
changed kernel/sched.c
changed kernel/sched_clock.c
changed kernel/trace
changed kernel/trace/trace_clock.c
arch
Directory.
arch/parisc
Directory.
arch/parisc/kernel
Directory.
arch/parisc/kernel/ftrace.c Diff Switch to side-by-side view
Loading...
include
Directory.
include/linux
Directory.
include/linux/sched.h Diff Switch to side-by-side view
Loading...
kernel
Directory.
kernel/lockdep.c Diff Switch to side-by-side view
Loading...
kernel/perf_event.c Diff Switch to side-by-side view
Loading...
kernel/rcutorture.c Diff Switch to side-by-side view
Loading...
kernel/sched.c Diff Switch to side-by-side view
Loading...
kernel/sched_clock.c Diff Switch to side-by-side view
Loading...
kernel/trace
Directory.
kernel/trace/trace_clock.c Diff Switch to side-by-side view
Loading...