diff options
author | David Daney <ddaney@caviumnetworks.com> | 2009-12-23 13:18:54 -0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-01-12 18:19:34 +0100 |
commit | c6a3c851a287980e47b45bf191a3b78d9d8508e2 (patch) | |
tree | b58339ebc32655ecff45e1f2d32c9ec26dc881f8 /arch/mips/cobalt | |
parent | 98bea6fc87390b6a12f595ad06fc686712435f94 (diff) |
MIPS: Octeon: Add sched_clock() to csrc-octeon.c
With the advent of function graph tracing on MIPS, Octeon needs a high
precision sched_clock() implementation. Without it, most timing
numbers are reported as 0.000.
This new sched_clock just uses the 64-bit cycle counter appropriately
scaled.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/805/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cobalt')
0 files changed, 0 insertions, 0 deletions