StopPapyrusStackRootProfile

From the Fallout4 CreationKit Wiki
Revision as of 17:17, 1 June 2015 by imported>Plplecuyer (Created page with "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, ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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