Apama 10.15.0 | Using Apama with Software AG Designer | Setting the Apama Preferences | Profiling and Logging
 
Profiling and Logging
The Profiling and Logging page of the Apama preferences pertains to Apama's EPL Profiler (see also Profiling EPL Applications). The following options are available:
Switch to associated perspective when profiling or importing logs
When you launch a profiling session, a dialog appears by default, asking if you want to switch to the Apama Profiler perspective. You can change this behavior by selecting one of the following options buttons:
*Always. When selected, the Apama Profiler perspective is shown immediately. A dialog will not appear.
*Never. When selected, the Apama Profiler perspective is not used. A dialog will not appear.
*Prompt (default). When selected, a dialog appears, asking if you want to switch to the Apama Profiler perspective.
Refreshing views
By default, the Apama profiler polls for data automatically (Automatic Refresh), using the refresh interval (in seconds) that is defined in the Refresh interval field and then updates the display in the Execution Statistics view. You can change the polling frequency by specifying the desired value in this field.
You can also change the way the profiler updates the data from a polling mode (Automatic Refresh) to an to an on-demand mode (Manual Refresh). The manual refresh is useful, for example, if you want to let your application run up to a certain point and then retrieve profile data, or if you want to inject a set of test events and then examine the profile deltas. To do the manual refresh, you click the corresponding button in the local toolbar of the Profiling Monitor view. See also Profiling Monitor view.