summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-09-24 17:48:31 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-09-24 16:38:17 -0700
commit08ec3c2d45bac41c782acb4e3331ac5881b2c68a (patch)
treeed05cb5eed4f2a7abd689b005449d8f3f4556372 /include
parentb4f151ff899362fec952c45d166252c9912c041f (diff)
MN10300: Make sched_clock() report time since boot
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions