Since engine version: 1.0 OC
Starts the script profiler.
bool StartScriptProfiler(id definition_script);
- [opt] If specified, only script functions of the given object definition are measured.
The script profiler can be used to measure how much processing time the scripting engine is using for executing certain script functions. This can be useful to find out which parts of a script are mainly slowing down execution in larger scenarios. The profiler measures the execution time between the commands StartScriptProfiler and StopScriptProfiler.
See also: StopScriptProfiler