StopScriptProfiling - Debug: Difference between revisions
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>JLundin No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:Non-delayed Native Function]] | |||
'''Member of:''' [[Debug Script]] | '''Member of:''' [[Debug Script]] | ||
Revision as of 08:08, 12 September 2012
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 globalParameters
- 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.