StartPapyrusStackRootProfile
Revision as of 17:15, 1 June 2015 by imported>Plplecuyer (Created page with "Starts profiling all stacks starting in the specified script (and optionally form). Profiling information is logged to "<game>/Logs/Script/Profiling" folder. ==Syntax== StartPa...")
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.