StartPapyrusStackRootProfile

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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

Syntax[edit | edit source]

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

Parameters[edit | edit source]

  • 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.

Examples[edit | edit source]

StartPSRP MySlowScript
StartPSRP 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]

StartStackRootProfiling - Debug