Follow these steps to enable data collection:
In the Device Selector window, right-click on a device and choose Properties.
You can also edit the device.properties file to set profiler.enabled to true. The properties file is located in the device instance directory, as described in /javame-sdk/3.0/work. The device number corresponds to a device in the device selector, as discussed in Table 1.
Note - It’s helpful to display the output window. If it’s not open, select Window > Output > Output.
Start your application.
Interact with your application as you normally would.
In the emulator, select Application > Exit.
The profile data snapshot is saved, and the SDK reports the location of the profile data in the Output window. The profile data is displayed in a tab labeled CPU:time, where time is the time the snapshot was saved.