ll.ScriptProfiler

ll.ScriptProfiler(State: number) : ()

Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE. May significantly reduce script performance.

Example

ll.ScriptProfiler(2)
{
  "def": "func",
  "desc": "Enables or disables script profiling options. Currently only supports PROFILE_SCRIPT_MEMORY (Mono only) and PROFILE_NONE.\nMay significantly reduce script performance.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlScriptProfiler",
  "name": "ScriptProfiler",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "State",
          "desc": "PROFILE_NONE or PROFILE_SCRIPT_MEMORY flags to control the state.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll