StopScriptProfiling - Debug

From the CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

Syntax

Function StopScriptProfiling(string asScriptName) native global

Parameters

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

Return Value

None.

Examples

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

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.

See Also