The lovr.timer module provides a few functions that deal with time. All times are measured in seconds.


lovr.timer.getAverageDeltaGet the average delta over the last second.
lovr.timer.getDeltaGet the time elapsed since the last update.
lovr.timer.getFPSGet the current frames per second.
lovr.timer.getTimeGet the current time.
lovr.timer.sleepGo to sleep.
lovr.timer.stepSteps the internal clock.