Re: Single-processor, fixing frame rate

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Tue, 2 May 95 19:30:34 PDT


>
>
> We're trying to get a Performer 1.2 application to stop doing a "free
> run" on a single processor Crimson (IRIX 5.2), but without success.
> The code we're testing is a modified perfly. Our method of testing is
> to set up pfSync or pfVClockSync so as to make the simulation run at 1
> Hz, so it should appear to run really slow.
>
> We've tried using pfSync with pfPhase(PFPHASE_LOCK),
> pfPhase(PFPHASE_LIMIT), and setting the pfFrameRate. Also, we have
> tried pfVClockSync.
>
> Do all of the Performer real-time synchronization routines assume a
> multiprocessor machine?
>
> Or should we be falling back on IRIX Real-time features such as
> interval timers, signals, and so forth?
>
> Eric
> erich++at++pike.cecer.army.mil
>

        In 1.2, single process mode did not support fixed frame rate
operation but soon-to-be-released 2.0 will. For now you can simply
call swapinterval(fields) in your draw callback to limit your frame rate
to (video rate / fields) Hz.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:28 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.