]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: sched_clock_cpu() based cpu_clock()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 27 Jun 2008 11:41:15 +0000 (13:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 12:31:30 +0000 (14:31 +0200)
commit76a2a6ee8a0660a29127f05989ac59ae1ce865fa
tree93ae1dd3cc5f564fc1e9d30bcdb0cd313f67221a
parentc09595f63bb1909c5dc4dca288f4fe818561b5f3
sched: sched_clock_cpu() based cpu_clock()

with sched_clock_cpu() being reasonably in sync between cpus (max 1 jiffy
difference) use this to provide cpu_clock().

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_clock.c