Mod:Creation Kit/StartPapyrusStackRootProfile

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

Syntax
StartPapyrusStackRootProfile [Form] StartPSRP [Form]

Parameters

 * 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
StartPSRP MySlowScript StartPSRP MySlowScript MyObj

Papyrus Version
StartStackRootProfiling - Debug