Background for Skyrim SE
Member of the Debug script
voidfunctionStartScriptProfiling(stringasScriptName)NativeGlobal

[DEV SERVER] Loading description...


Caveats

CK Wiki - 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.

The flamegraph visualizer speedscope supports all kinds of profiles that Skyrim produces, including those produced by this function.


Parameters

stringasScriptName

CK Wiki Description

The name of the script to start profiling.


Examples

; Starts profiling "MySlowScript"
Debug.StartScriptProfiling("MySlowScript")

Auto-Generated Example

string myString__asScriptName

Debug.StartScriptProfiling(myString__asScriptName)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.