[airstrike] bug in timing code
Ulf Ekström
uekstrom at gmail.com
Sun Sep 4 14:02:59 EDT 2005
Hi,
> > > 1/10sec = 100ms. Where did you get the 90ms value?
> >
> > Because the value of FRAMERATE was used as frame duration => 30ms for
> > one frame => time base of 90ms.
>
> 30fps = 33.33333ms per frame. :-)
Actually, there is a point in having 30 ms/frame (that is 33.3.. fps),
since it plays very well with the linux scheduler (at least with
HZ=100). I did some experiments with this, and it turns out that the
framerate is much more constant if the time/frame is a multiple of 10
ms.
Ulf
More information about the airstrike
mailing list