love.timer.getFPS

Returns the current frames per second.

Function

Synopsis

fps = love.timer.getFPS( )

Arguments

None.

Returns

number fps
The current FPS.

Notes

  • getFPS() is known for poor performance, ironically reducing the FPS its designed to measure.

See Also


Other Languages