StopPapyrusStackRootProfile

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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.

Syntax[edit | edit source]

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

Parameters[edit | edit source]

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

Examples[edit | edit source]

StopPSRP MySlowScript
StopPSRP MySlowScript MyObj

Notes[edit | edit source]

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 Also[edit | edit source]

Papyrus Version[edit | edit source]

StopStackRootProfiling - Debug