Difference between revisions of "Template:LSL Constants/llGetSimStats"

From Second Life Wiki
Jump to navigation Jump to search
m (value)
(Add expanded stats for upcoming release.)
Line 9: Line 9:
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{Interval|gte=0.0|lte=100.0|center=return}}
{{!}} {{Interval|gte=0.0|lte=100.0|center=return}}
{{!}} The % of pathfinding characters updated each frame, averaged over the last minute. The value corresponds to the "Characters Updated" stat in the viewer's Statistics Bar.  
{{!}} The % of pathfinding characters updated each frame, averaged over the last minute. The value corresponds to the "Characters Updated" stat in the viewer's Statistics Bar.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_FPS|integer|1}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Physics simulation FPS.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_AGENT_UPDATES|integer|2}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Agent updates per second.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_FRAME_MS|integer|3}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Total simulation frame time.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_NET_MS|integer|4}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent in 'network' segment of simulation frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_OTHER_MS|integer|5}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent in 'other' segment of simulation frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_MS|integer|6}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent in 'physics' segment of simulation frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_AGENT_MS|integer|7}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent in 'agent' segment of simulation frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_IMAGE_MS|integer|8}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent in 'image' segment of simulation frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SCRIPT_MS|integer|9}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent in 'script' segment of simulation frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_AGENT_COUNT|integer|10}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Number of agents in region.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_CHILD_AGENT_COUNT|integer|11}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Number of child (neighboring) agents in region.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_ACTIVE_SCRIPT_COUNT|integer|12}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Number of active scripts in region.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PACKETS_IN|integer|13}}
{{!}} {{#var:value}}
{{!}} floa
{{!}} Average packets in per second.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PACKETS_OUT|integer|14}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Average packets out per second.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_ASSET_DOWNLOADS|integer|15}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Pending asset download count.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_ASSET_UPLOADS|integer|16}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Pending asset upload count.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_UNACKED_BYTES|integer|17}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Total unacknowledged bytes.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_STEP_MS|integer|18}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Average physics step time.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_SHAPE_MS|integer|19}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Average physics 'shape' segment update time.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_OTHER_MS|integer|20}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Average physics 'other' segment update time.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SCRIPT_EPS|integer|21}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Script events per second.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SPARE_MS|integer|22}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Spare time left after frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SLEEP_MS|integer|23}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent sleeping.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_IO_PUMP_MS|integer|24}}
{{!}} {{#var:value}}
{{!}} float
{{!}} PumpIO time.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SCRIPT_RUN_PCT|integer|25}}
{{!}} {{#var:value}}
{{!}} {{Interval|gte=0.0|lte=100.0|center=return}}
{{!}} Percent of scripts run during frame.
{{!}}-
{{!}} {{LSL Const|SIM_STAT_AI_MS|integer|26}}
{{!}} {{#var:value}}
{{!}} float
{{!}} Time spent on AI step.
{{!}}}
{{!}}}

Revision as of 12:40, 30 January 2023

Name Possible Return Description
SIM_STAT_PCT_CHARS_STEPPED 0 [0.0, 100.0] The % of pathfinding characters updated each frame, averaged over the last minute. The value corresponds to the "Characters Updated" stat in the viewer's Statistics Bar.
SIM_STAT_PHYSICS_FPS 1 float Physics simulation FPS.
SIM_STAT_AGENT_UPDATES 2 float Agent updates per second.
SIM_STAT_FRAME_MS 3 float Total simulation frame time.
SIM_STAT_NET_MS 4 float Time spent in 'network' segment of simulation frame.
SIM_STAT_OTHER_MS 5 float Time spent in 'other' segment of simulation frame.
SIM_STAT_PHYSICS_MS 6 float Time spent in 'physics' segment of simulation frame.
SIM_STAT_AGENT_MS 7 float Time spent in 'agent' segment of simulation frame.
SIM_STAT_IMAGE_MS 8 float Time spent in 'image' segment of simulation frame.
SIM_STAT_SCRIPT_MS 9 float Time spent in 'script' segment of simulation frame.
SIM_STAT_AGENT_COUNT 10 float Number of agents in region.
SIM_STAT_CHILD_AGENT_COUNT 11 float Number of child (neighboring) agents in region.
SIM_STAT_ACTIVE_SCRIPT_COUNT 12 float Number of active scripts in region.
SIM_STAT_PACKETS_IN 13 floa Average packets in per second.
SIM_STAT_PACKETS_OUT 14 float Average packets out per second.
SIM_STAT_ASSET_DOWNLOADS 15 float Pending asset download count.
SIM_STAT_ASSET_UPLOADS 16 float Pending asset upload count.
SIM_STAT_UNACKED_BYTES 17 float Total unacknowledged bytes.
SIM_STAT_PHYSICS_STEP_MS 18 float Average physics step time.
SIM_STAT_PHYSICS_SHAPE_MS 19 float Average physics 'shape' segment update time.
SIM_STAT_PHYSICS_OTHER_MS 20 float Average physics 'other' segment update time.
SIM_STAT_SCRIPT_EPS 21 float Script events per second.
SIM_STAT_SPARE_MS 22 float Spare time left after frame.
SIM_STAT_SLEEP_MS 23 float Time spent sleeping.
SIM_STAT_IO_PUMP_MS 24 float PumpIO time.
SIM_STAT_SCRIPT_RUN_PCT 25 [0.0, 100.0] Percent of scripts run during frame.
SIM_STAT_AI_MS 26 float Time spent on AI step.