[parisc-linux] sched_clock implementation
Carlos O'Donell
carlos@baldric.uwo.ca
Mon, 6 Oct 2003 10:20:06 -0400
On Sun, Oct 05, 2003 at 03:43:16PM +0000, Joel Soete wrote:
> + spin_lock_irq(&pdc_lock);
> + retval = mem_pdc_call(PDC_TOD, PDC_TOD_ITIMER,
> __pa(pdc_result), 0);
> + convert_to_wide(pdc_result);
Your mailer is folding lines.
Aside from that the patch looks interesting. It could be used to find
the rate at which cr16 is running, and then we can use that as an HP
timer into userspace. The next portion is solving the monotic
requirement on the clock (e.g. follow the idea of 3 cr16 reads to catch
a reschedule).
c.