Engine.Profiler.startCollectingToFile()
Signature
void startCollectingToFile(String fileName, int level, long duration)
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
Name | Type | Description |
fileName | String | The name of output file that the Profiler writes to. |
level | int | If 1, only RTC level of profile data will be collected. |
duration | long | Time duration in seconds that the profile data will be collected. |