StopPapyrusStackRootProfile

Stops profiling all stacks starting in the specified script (and optionally form). This is the exact mirror of the start command - if an exact matching start command wasn't run, it won't have any effect. For example, if you don't pass a form, it will only remove the profiling request started without a form, it won't remove all profiling requests for that script. Profiling information is logged to "<game>/Logs/Script/Profiling" folder.

SyntaxEdit

StopPapyrusStackRootProfile <script> [Form]
StopPSRP <script> [Form]

ParametersEdit

  • Script: The name of the script to stop profiling.
  • Form: Optional - If passed, will limit profiling logs to the specific object.

ExamplesEdit

StopPSRP MySlowScript
StopPSRP 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

StopStackRootProfiling - Debug