Mod:Creation Kit/StartScriptProfiling - Debug

Member of: Mod:Creation Kit/Debug Script

Starts profiling a single Papyrus script. Child and parent scripts are not profiled.

Syntax
Function StartScriptProfiling(string asScriptName) native global debugOnly

Parameters

 * asScriptName: The name of the script to start profiling.

Return Value
None.

Examples
Debug.StartScriptProfiling("MySlowScript")
 * Starts profiling "MySlowScript"