Hi, I'm running VxWorks Os on a MPC 8323 processor. The VxWorks timers are based on the OS ticks (several mili seconds), but I need a way to measure small time intervals of micro seconds.Is there a Real Time clock register to read, or a cotinueosly running counter register to calculate the interval time from it? Thanks Anwar
Timing Measurement of PPC processor
Started by ●April 12, 2009
Reply by ●April 12, 20092009-04-12
On Apr 12, 9:43=A0am, "anwar_pc" <anwar...@yahoo.com> wrote:> register to read, or a cotinueosly running counter register to calculate > the interval time from it?I don't know this specific part, but most (all?) PPCs have a TBR.
Reply by ●April 12, 20092009-04-12
On Apr 12, 7:24=A0pm, zwsdot...@gmail.com wrote:> On Apr 12, 9:43=A0am, "anwar_pc" <anwar...@yahoo.com> wrote: > > > register to read, or a cotinueosly running counter register to calculat=e> > the interval time from it? > > I don't know this specific part, but most (all?) PPCs have a TBR.Of course it has the timebase registers - like any PPC. This one is a 603e core (or one of its somewhat improved G2 variations). Clearly visible in the register model of the part the OP is programming. Dimiter ------------------------------------------------------ Dimiter Popoff Transgalactic Instruments http://www.tgi-sci.com ------------------------------------------------------ http://www.flickr.com/photos/didi_tgi/sets/72157600228621276/