|
LuaSandbox::enableProfilerEnable the profiler. Description
public bool LuaSandbox::enableProfiler(float
$period = 0.02)Enables the profiler. Profiling will begin when Lua code is entered. The profiler periodically samples the Lua environment to record the running function. Testing indicates that at least on Linux, setting a period less than 1ms will lead to a high overrun count but no performance problems. Parameters
Return ValuesReturns a boolean indicating whether the profiler is enabled. See Also
|