diff options
author | Guillaume Chazarain <guichaz@yahoo.fr> | 2008-01-30 13:30:06 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:30:06 +0100 |
commit | 53d517cdbaac704352b3d0c10fecb99e0b54572e (patch) | |
tree | 4056bc99a4e6077d7d968d30ea21895e425a83ef /samples | |
parent | 83bd01024b1fdfc41d9b758e5669e80fca72df66 (diff) |
x86: scale cyc_2_nsec according to CPU frequency
scale the sched_clock() cyc_2_nsec scaling factor according to
CPU frequency changes.
[ mingo@elte.hu: simplified it and fixed it for SMP. ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions