- Found in:
- Vanilla
Description
Wiki Description
Stops profiling a single Papyrus script. Child and parent scripts are not affected. If the script is not being profiled nothing will change.
Documentation Comment
Stop profiling a specific script - setting doesn't persist across saves
Will do nothing on release console builds, and if the Papyrus:bEnableProfiling ini setting is off
Caveats
CK Wiki - Notes
Profiling requires the "bEnableProfiling" flag in the "[Papyrus]" section of the ini file to be set to 1. Consoles will never profile in release final builds.
Parameters
stringasScriptName
CK Wiki Description
The name of the script to stop profiling.
Examples
; Stops profiling "MySlowScript"
Debug.StopScriptProfiling("MySlowScript")Auto-Generated Example
string myString__asScriptName
Debug.StopScriptProfiling(myString__asScriptName)