Template:LSL Constants/llGetSimStats: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Add expanded stats for upcoming release.
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
{{!}} {{LSL Const|SIM_STAT_PHYSICS_FPS|integer|1}}
{{!}} {{LSL Const|SIM_STAT_PHYSICS_FPS|integer|1}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Physics simulation FPS.
{{!}} Physics simulation FPS.
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_AGENT_UPDATES|integer|2}}
{{!}} {{LSL Const|SIM_STAT_AGENT_UPDATES|integer|2}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Agent updates per second.
{{!}} Agent updates per second.
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_FRAME_MS|integer|3}}
{{!}} {{LSL Const|SIM_STAT_FRAME_MS|integer|3}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Total simulation frame time.
{{!}} Total frame time.
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_NET_MS|integer|4}}
{{!}} {{LSL Const|SIM_STAT_NET_MS|integer|4}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent in 'network' segment of simulation frame.  
{{!}} Time spent in 'network' segment of simulation frame.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_OTHER_MS|integer|5}}
{{!}} {{LSL Const|SIM_STAT_OTHER_MS|integer|5}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent in 'other' segment of simulation frame.  
{{!}} Main simulation segment of frame, encapsulating task, script and misc. updates.
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_MS|integer|6}}
{{!}} {{LSL Const|SIM_STAT_PHYSICS_MS|integer|6}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent in 'physics' segment of simulation frame.  
{{!}} Time spent in 'physics' segment of simulation frame.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_AGENT_MS|integer|7}}
{{!}} {{LSL Const|SIM_STAT_AGENT_MS|integer|7}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent in 'agent' segment of simulation frame.  
{{!}} Time spent in 'agent' segment of simulation frame.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_IMAGE_MS|integer|8}}
{{!}} {{LSL Const|SIM_STAT_IMAGE_MS|integer|8}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent in 'image' segment of simulation frame.  
{{!}} Time spent in 'image' segment of simulation frame.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SCRIPT_MS|integer|9}}
{{!}} {{LSL Const|SIM_STAT_SCRIPT_MS|integer|9}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent in 'script' segment of simulation frame.  
{{!}} Time spent in 'script' segment of simulation frame.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_AGENT_COUNT|integer|10}}
{{!}} {{LSL Const|SIM_STAT_AGENT_COUNT|integer|10}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Number of agents in region.  
{{!}} Number of agents in region.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_CHILD_AGENT_COUNT|integer|11}}
{{!}} {{LSL Const|SIM_STAT_CHILD_AGENT_COUNT|integer|11}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Number of child (neighboring) agents in region.  
{{!}} Number of child (neighboring) agents in region.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_ACTIVE_SCRIPT_COUNT|integer|12}}
{{!}} {{LSL Const|SIM_STAT_ACTIVE_SCRIPT_COUNT|integer|12}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Number of active scripts in region.  
{{!}} Number of active scripts in region.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PACKETS_IN|integer|13}}
{{!}} {{LSL Const|SIM_STAT_PACKETS_IN|integer|13}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} floa
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Average packets in per second.  
{{!}} Average packets in per second.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PACKETS_OUT|integer|14}}
{{!}} {{LSL Const|SIM_STAT_PACKETS_OUT|integer|14}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Average packets out per second.  
{{!}} Average packets out per second.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_ASSET_DOWNLOADS|integer|15}}
{{!}} {{LSL Const|SIM_STAT_ASSET_DOWNLOADS|integer|15}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Pending asset download count.  
{{!}} Pending asset download count.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_ASSET_UPLOADS|integer|16}}
{{!}} {{LSL Const|SIM_STAT_ASSET_UPLOADS|integer|16}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Pending asset upload count.  
{{!}} Pending asset upload count.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_UNACKED_BYTES|integer|17}}
{{!}} {{LSL Const|SIM_STAT_UNACKED_BYTES|integer|17}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Total unacknowledged bytes.  
{{!}} Total unacknowledged bytes.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_STEP_MS|integer|18}}
{{!}} {{LSL Const|SIM_STAT_PHYSICS_STEP_MS|integer|18}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Average physics step time.  
{{!}} Average physics step time.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_SHAPE_MS|integer|19}}
{{!}} {{LSL Const|SIM_STAT_PHYSICS_SHAPE_MS|integer|19}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Average physics 'shape' segment update time.  
{{!}} Average physics 'shape' segment update time.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_PHYSICS_OTHER_MS|integer|20}}
{{!}} {{LSL Const|SIM_STAT_PHYSICS_OTHER_MS|integer|20}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Average physics 'other' segment update time.  
{{!}} Average physics 'other' segment update time.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SCRIPT_EPS|integer|21}}
{{!}} {{LSL Const|SIM_STAT_SCRIPT_EPS|integer|21}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Script events per second.  
{{!}} Script events per second.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SPARE_MS|integer|22}}
{{!}} {{LSL Const|SIM_STAT_SPARE_MS|integer|22}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Spare time left after frame.  
{{!}} Spare time left after frame.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_SLEEP_MS|integer|23}}
{{!}} {{LSL Const|SIM_STAT_SLEEP_MS|integer|23}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent sleeping.  
{{!}} Time spent sleeping.  
{{!}}-
{{!}}-
{{!}} {{LSL Const|SIM_STAT_IO_PUMP_MS|integer|24}}
{{!}} {{LSL Const|SIM_STAT_IO_PUMP_MS|integer|24}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} PumpIO time.  
{{!}} PumpIO time.  
{{!}}-
{{!}}-
Line 138: Line 138:
{{!}} {{LSL Const|SIM_STAT_AI_MS|integer|26}}
{{!}} {{LSL Const|SIM_STAT_AI_MS|integer|26}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} float
{{!}} {{Interval|gte=0.0|lte=Inf|center=return}}
{{!}} Time spent on AI step.
{{!}} Time spent on AI step.
{{!}}}
{{!}}}

Latest revision as of 16:59, 3 February 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 [0.0, Inf] Physics simulation FPS.
SIM_STAT_AGENT_UPDATES 2 [0.0, Inf] Agent updates per second.
SIM_STAT_FRAME_MS 3 [0.0, Inf] Total frame time.
SIM_STAT_NET_MS 4 [0.0, Inf] Time spent in 'network' segment of simulation frame.
SIM_STAT_OTHER_MS 5 [0.0, Inf] Main simulation segment of frame, encapsulating task, script and misc. updates.
SIM_STAT_PHYSICS_MS 6 [0.0, Inf] Time spent in 'physics' segment of simulation frame.
SIM_STAT_AGENT_MS 7 [0.0, Inf] Time spent in 'agent' segment of simulation frame.
SIM_STAT_IMAGE_MS 8 [0.0, Inf] Time spent in 'image' segment of simulation frame.
SIM_STAT_SCRIPT_MS 9 [0.0, Inf] Time spent in 'script' segment of simulation frame.
SIM_STAT_AGENT_COUNT 10 [0.0, Inf] Number of agents in region.
SIM_STAT_CHILD_AGENT_COUNT 11 [0.0, Inf] Number of child (neighboring) agents in region.
SIM_STAT_ACTIVE_SCRIPT_COUNT 12 [0.0, Inf] Number of active scripts in region.
SIM_STAT_PACKETS_IN 13 [0.0, Inf] Average packets in per second.
SIM_STAT_PACKETS_OUT 14 [0.0, Inf] Average packets out per second.
SIM_STAT_ASSET_DOWNLOADS 15 [0.0, Inf] Pending asset download count.
SIM_STAT_ASSET_UPLOADS 16 [0.0, Inf] Pending asset upload count.
SIM_STAT_UNACKED_BYTES 17 [0.0, Inf] Total unacknowledged bytes.
SIM_STAT_PHYSICS_STEP_MS 18 [0.0, Inf] Average physics step time.
SIM_STAT_PHYSICS_SHAPE_MS 19 [0.0, Inf] Average physics 'shape' segment update time.
SIM_STAT_PHYSICS_OTHER_MS 20 [0.0, Inf] Average physics 'other' segment update time.
SIM_STAT_SCRIPT_EPS 21 [0.0, Inf] Script events per second.
SIM_STAT_SPARE_MS 22 [0.0, Inf] Spare time left after frame.
SIM_STAT_SLEEP_MS 23 [0.0, Inf] Time spent sleeping.
SIM_STAT_IO_PUMP_MS 24 [0.0, Inf] PumpIO time.
SIM_STAT_SCRIPT_RUN_PCT 25 [0.0, 100.0] Percent of scripts run during frame.
SIM_STAT_AI_MS 26 [0.0, Inf] Time spent on AI step.