StartScriptProfiler

Category: Developer
Since engine version: 4.9.6.0 CR

Description

Starts the script profiler.

Syntax

bool StartScriptProfiler (id idDefScript);

Parameter

idDefScript:
If specified, only script functions of the given object definition are measured.

Remark

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
Sven2, März 2007