Engine.Profiler.startCollectingToFile()

Signature

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

Domain

action

Description

Turns on the BusinessEvents Profiler and starts collecting data for a specified duration. Profile 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