Mod:Creation Kit/StopStackRootProfiling - Debug

Member of: Mod:Creation Kit/Debug Script

Stops profiling all stacks that start in the specified script (and optionally object).

Syntax
Function StopStackRootProfiling(string asScriptName, ScriptObject akObj = None) native global debugOnly

Parameters

 * asScriptName: The name of the script to stop profiling.
 * akObj: The object to limit the profiling to. Passing None does not remove all profiling roots for a particular script, it will only remove the 'all' profiling request if one was made.
 * Default: None

Return Value
None.

Examples
Debug.StopStackRootProfiling("MySlowScript") Debug.StartStackRootProfiling("MySlowScript", MyObj)
 * Stops profiling all stacks that start in MySlowScript (unless a filtered one remains)
 * Stops profiling all stacks that start in MySlowScript, but only on MyObj
 * Will have no effect if MyObj was not being filtered already