https://github.com/torvalds/linux
Revision 08ec3c2d45bac41c782acb4e3331ac5881b2c68a authored by David Howells on 24 September 2008, 16:48:31 UTC, committed by Linus Torvalds on 24 September 2008, 23:38:17 UTC
Make sched_clock() report time since boot rather than time since last
timer interrupt.

Make sched_clock() expand and scale the 32-bit TSC value running at
IOCLK speed (~33MHz) to a 64-bit nanosecond counter, using cnt32_to_63()
acquired from the ARM arch and without using slow DIVU instructions
every call.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b4f151f
History
Tip revision: 08ec3c2d45bac41c782acb4e3331ac5881b2c68a authored by David Howells on 24 September 2008, 16:48:31 UTC
MN10300: Make sched_clock() report time since boot
Tip revision: 08ec3c2
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.5 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top