]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sched: implement cpu_clock(cpu) high-speed time source
authorIngo Molnar <mingo@elte.hu>
Thu, 19 Jul 2007 19:28:35 +0000 (21:28 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Jul 2007 19:28:35 +0000 (21:28 +0200)
commit6470db5adc2d450aa5c8fc3d496d8bfc4e2d75b5
treec579410a12ed63d94e3a40a023634c7df4aebc76
parent5402bebdd441ca61b04c3dd7e1dd532885981cc7
[PATCH] sched: implement cpu_clock(cpu) high-speed time source

Implement the cpu_clock(cpu) interface for kernel-internal use:
high-speed (but slightly incorrect) per-cpu clock constructed from
sched_clock().

This API, unused at the moment, will be used in the future by blktrace,
by the softlockup-watchdog, by printk and by lockstat.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/sched.c