Engine.Profiler.startCollectingToFile()

Signature

void startCollectingToFile(String fileName, int level, long duration)

Domain

ACTION, BUI

Description

Turns on the BusinessEvents Profiler and starts collecting data for a specified duration. At the end of the duration or when the Profiler is turned off before the end of the duration, profiling data will be output to a file in comma separated value format.

Parameters

NameTypeDescription
fileNameStringThe name of output file that the Profiler writes to.
levelintIf 1, only RTC level of profile data will be collected.
durationlongTime duration in seconds that the profile data will be collected.

Returns

TypeDescription
void

Cautions

none