StartPapyrusStackRootProfile

Starts profiling all stacks starting in the specified script (and optionally form). Profiling information is logged to "<game>/Logs/Script/Profiling" folder.

SyntaxEdit

StartPapyrusStackRootProfile <script> [Form]
StartPSRP <script> [Form]

ParametersEdit

  • Script: The name of the script to start profiling. Calls into said script from other scripts are not profiled, only stacks that start in said script.
  • Form: Optional - If passed, will limit profiling logs to the specific object.

ExamplesEdit

StartPSRP MySlowScript
StartPSRP MySlowScript MyObj

NotesEdit

Profiling must be turned on or the command will fail. To turn profiling on, set "bEnableProfiling" in the "[Papyrus]" section of your ini file to 1.

See AlsoEdit

Papyrus VersionEdit

StartStackRootProfiling - Debug