StopScriptProfiling - Debug

Member of: Debug Script

Stops profiling a single Papyrus script. Child and parent scripts are not affected. If the script is not being profiled nothing will change.

SyntaxEdit

Function StopScriptProfiling(string asScriptName) native global

ParametersEdit

  • asScriptName: The name of the script to stop profiling.

Return ValueEdit

None.

ExamplesEdit

; Stops profiling "MySlowScript"
Debug.StopScriptProfiling("MySlowScript")

NotesEdit

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.

See AlsoEdit