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

LSL Wiki : llGetRegionFPS

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl427.us.archive.org
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
Comments [Hide comments/form]
This Function I have found if run very fast, ex. on a timer, It can lag sims and lower there FPS by 30, or 40. So don't use it that often.
-- JimBunderfeld (2004-04-23 17:01:03)
Anything run very fast will lag the sim, even an empty timer event handler being invoked every second will cause a noticeable performance drop.
-- EggyLippmann (2004-07-31 05:14:14)
Attach a comment to this page: