Jme3 SimpleApplication headless server current framerate

Hi, as the topic already describes, how I get the current framerate in headless application?

In each update call in the form of tpf.

how I can recalculate tpf to framerate like 60?

tpf = time per frame in seconds.

Current framerate = 1 / tpf

1 Like

Thats not gonna be the hardest math problem you’ll encounter doing games :wink: