Don't click here unless you want to be banned.

LSL Wiki : llGetRegionFPS

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
float llGetRegionFPS()

Returns the number of frames per second (FPS) the simulator is running at. As of SL 1.7, this will never be higher than 45 frames per second, the same rate as the physics framerate though, according to Lindens, the sim and physics framerates are not intrinsically linked despite being capped at the same value. As before, low framerates (relative to 45fps) mean that a script will not be granted much execution time.

To find out how many script instructions are being executed per second, in the Ctrl-Shift-1 statistics bar, it's "Script Perf"[ormance] under "Simulator".

Compare with llGetRegionTimeDilation.

This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Simulator | Lag
There are 2 comments on this page. [Display comments/form]