StartScriptProfiling - Debug: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
(→‎See Also: Added corresponding console command)
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function StartScriptProfiling(string asScriptName) native global
Function StartScriptProfiling(string asScriptName) native global
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Starts profiling "MySlowScript"
; Starts profiling "MySlowScript"
Debug.StartScriptProfiling("MySlowScript")
Debug.StartScriptProfiling("MySlowScript")
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu