- TIBCO BusinessEvents®
- Standard
- Engine
- Profiler

# Engine.Profiler

## Description

Functions to profile the engine.

## Functions

Name | Signature and Synopsis
--- | ---
`startCollectingToFile` | `void startCollectingToFile(String fileName, int level, long duration)` 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.
`stopCollecting` | `void stopCollecting()` Turns off the BusinessEvents Profiler and writes the profile data into a file specified when the Profiler was turned on.