diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-09-21 01:38:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-21 01:38:08 -0700 |
| commit | 2b7e8ff797a84f7ae561ca8af65a3070b348287f (patch) | |
| tree | 303cd38ae0c99f7c2fe3ed3146f37870cc179142 /include/linux | |
| parent | f221af36348b0231dded895a5c8248660ff3bbc0 (diff) | |
[PATCH] sched_clock() for ppc, ppc64, x86_64 and sparc64
Ingo's CPU scheduler update (in -mm kernels) needs a new sched_clock()
function which returns nanoseconds.
The patch provides implementations for ppc, ppc64, x86_64 and sparc64.
The x86_64 version could have overflow issues, the calculation is done in
32bits only with an multiply. But I hope it's good enough for the scheduler
The ppc64 version needs scaling: it's only accurate for 1GHz CPUs.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
