Re: [hatari-devel] Show FPS in statusbar?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On 01/04/2018 12:06 PM, Christer Solskogen wrote:
On Thu, Jan 4, 2018 at 10:56 AM, Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
wrote:
Then I'm afraid we don't talk about the same thing. What you want is to
measure the performance of Hatari itself, ie how many time takes Hatari to
render a frame (I saw your discusson on AF about R-PI)

Correct.


This is a different issue ; basically, if Hatari is too slow to render 50
FPS, some frames could be skipped.
To see this, you might want to enable frame skipping in Hatari, which will
print in the status bar how many frames were skipped (due to too slow
emulation).

I know. But I want to know how many frames are skipped. Not that some
frames are skipped.

It already *does* show how many frames were skipped, up until
the maximum frame skip you have specified (5 by default).

If you set "--fast-forward on", you'll see the maximum frame
skip limit being used.

If it's showing value of 1, either only every other frame needs
to be skipped, or you've specified 1 as maximum frame skip.


Eero might have more insight on this and how to interpret it (IIRC he
worked on the frame skipping code)

It's documented in the Hatari manual:

https://hg.tuxfamily.org/mercurialroot/hatari/hatari/raw-file/tip/doc/manual.html#Measuring_the_performance


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/