Path: chuka.playstation.co.uk!news From: "SCEE" Newsgroups: scea.yaroze.freetalk,scea.yaroze.hardware,scea.yaroze.programming.gnu_compiler,scee.yaroze.freetalk.english,scee.yaroze.programming.gnu_compiler,scee.yaroze.programming.libraries Subject: Re: Root counter controls... Date: Fri, 20 Mar 1998 01:05:22 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 56 Message-ID: <6esf11$l5r32@chuka.playstation.co.uk> References: <6ec3ji$i0m17@scea> <6eqm63$l5r14@chuka.playstation.co.uk> <6er7qh$l3g5@scea> NNTP-Posting-Host: 194.203.13.10 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Xref: chuka.playstation.co.uk scea.yaroze.freetalk:526 scea.yaroze.programming.gnu_compiler:89 scee.yaroze.freetalk.english:565 scee.yaroze.programming.gnu_compiler:182 scee.yaroze.programming.libraries:142 Hi Jeff, RCntCNT2 counts in 8 clock ticks ( 33Mhz/8 ) To time a routine use the following... ResectRCnt( RCntCNT2 ); StartRCnt( RCntCNT2 ); call routine time = GetRCnt( RCntCNT2 ); I'm sorry you thought I was being unhelpfull with my last response, but I offer the same advice to professional developers, plus with the Yaroze you don't have access to any other timers as they are used by the libraries internally. Cheers, Colin. Jeff Lawton wrote in message <6er7qh$l3g5@scea>... >SCEE wrote in message <6eqm63$l5r14@chuka.playstation.co.uk>... >>I think you would probally be better off using VSync(1) for most timing >>purposes ( it count's in hsyncs ) >>unless you want some really tight timing... >>But checking the time for a single small function ( <1 Hsync ) can often >>give misleading results as the effects of other bus masters / cache history >>and dram refresh will sometimes give spurious results. > > >Boy thanks.. That was a rather informative response... Now I know how the >Root control timers work.. I'll get right on it.... I don't mean to sound >rude or make your response seem unwanted.. It just frustrates me that even >simple things (or things you would imagine to be simple) are so poorly >understood.. I just wanted to try them. > >All sarcasm aside.... Does anyone know how to use them.. I don't care if I >can use VSync as a timer (I'm aware of that) or not... I want to know all I >can about the Yaroze, and the docs on the Root timers are very poorly >written... > >Regards, > >Jeff / Nemesis > >