[parisc-linux] sched_clock implementation

Grant Grundler grundler@parisc-linux.org
Sat, 20 Sep 2003 18:04:47 -0600


On Sat, Sep 20, 2003 at 06:02:10PM +0000, Joel Soete wrote:
> a quick look into paxx.pdf which about CR16 speak of "peak instruction 
> rate" but do not define anywhere?
> I presume that is the cpu clock but would like somebody confirm.

Read about "Interval Timer" (cr16) in the PA 2.0 Arch book.
PDC provides the exact rate that CR16 is changing.
Looks like PDC_TOD_ITIMER is the call but I'm not sure offhand.
In any case, I've only seen it used as CPU cycle counter.
(ie 1:1 with CPU clock).

hth,
grant