# SIM_STAT_AGENT_MS

*LSL constant*

```lsl
integer SIM_STAT_AGENT_MS = 7;
```

Returns the time spent in the 'agent' segment of the simulation frame.

Constant groups: [SimulatorStat](/constants/groups/SimulatorStat/)

## See also

### Functions

- [llGetSimStats](/functions/llGetSimStats/)

---

*Source: [SIM STAT AGENT MS](https://wiki.secondlife.com/wiki/SIM_STAT_AGENT_MS) on the Second Life Wiki. Content from the Second Life Wiki article SIM STAT AGENT MS (revision 1213060, 2023-01-30), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/SIM_STAT_AGENT_MS/
