To start profiling select in the menu Tools > Tizen > Profiler > Run profiler.
Profiler Setting window will be opened.
Path to application will be set up automatically in accordance with the opened Solution.
Profiling preset - predefined sets of options for different profiling aspects (CPU, Memory Allocation, Source Lines). The less options are included - the less overhead and less data are collected and processed.
|Profiling preset||CPU||Memory Allocation||Source Lines|
|Option||Description||CPU Sampling||Memory Allocation||Complex Profiling|
|Sampling Interval||Time interval between samples in miliseconds||10||10||10|
|High Granularity||Enable high accuracy and saturated samples. If option is disabled, samples will be dumped only on allocation and stack changing events||on||on||on|
|Trace Execution||Enable tracking of information about execution stack changes||on||off||on|
|Trace Memory||Enable tracking of information about allocations||off||on||on|
|Trace Garbage Collection||Enable tracking of information about Garbage Collector events||-||on||on|
|Trace Source Lines||Enable tracking of instruction pointers for samples. Profiler generates information about IL to native code mapping that can be used for matching between IP and source code fragments||on||on||on|
|Stack Track||Enable tracking of execution stack state for memory allocations||-||off||on|
|CPU Tracing Options|
|Enable CPU||Enable tracking of CPU usage by process and/or managed threads||on||on||on|
|Trace Process||Enable tracking of CPU usage by application process||on||on||on|
|Trace Threads||Enable tracking of CPU usage by application managed threads||on||on||on|
|Trace Interval||Timeout between CPU usage measurements in milliseconds||10||10||10|
|Delayed start||Delay start of profiling. To start profiling it is need to click Start button in the Profiling Progress window||off||off||off|
Click Ok button.
Output window (highlighted with orange rectangle, also be sure that window shows output from Tizen (green highlight)) and Profiling Progress window (red highlight) will be being shown during profiling.
To stop profiling click Stop button in the Profiling Progress window. Output window will display information about stopping profiling process.
In the result session entity will be generated which can be opened and managed via Session Explorer window.
Live Profiling allows to profile an application during debugging.
To enable Live Profiling the next actions are need:
Use new debugger when available.
Use Live Profiler on debugging.
The window shows CPU Utilization and Memory consumption by application in the real-time mode.
On the top right corner buttons Pause/Resume and Stop are located. But if the profiling was started in the
Delayed mode instead Pause/Resume button Start button will be to start profiling.
Depends on the profiling options it is possibly to track JIT and GC events in the real-time mode.
In the debug mode the window shows debugger events, for example : when an application was paused by breakpoint or debug pause button.
To pause profiling click Pause button.
To resume profiling click Resume button.
To stop profiling click Stop button.
On the left bottom corner current status is displayed.
To open Session Explorer window select in the menu Tools > Tizen > Profiler > Session Explorer.
Session Explorer window contains a list of profiling sessions which have been collected within opened Solution. A list entry which is mapped to the session has the next describing fields:
Date - date and time of profiling session.
Preset - name of the used Profiling preset to create profiling session.
Device - name of the used device for profiling.
Project - name of the profilled project.
Annotation (optional) - user defined Session annotation.
Additional session’s information is displayed in Properties window (usually it is placed below Session Explorer window). The window contains information about specific session’s parameters that had been used to configure the profiler for that session. Annotation field can be edited in this window.
To open session double click on the session’s entry.
To manage session click
Right Mouse Button on the session’s entry.
The next possible operations with session entry are available:
Depends on the chosen Profiling preset there are available two types of the session data’s viewers:
If Complex preset have been chosen both types of sessions will be available.
The window will be automatically shown during profiling or live profiling.
To open it manually select in the menu Tools > Tizen > Profiler > Profiling Progress.
The viewer has the next panels:
Filters (red highlight) - consists of the next types of filters:
Call Tree and methods
Depends on the selected filter Timeline and Methods panels will be filtered.
Depends on the selected filter charts in the Timeline panel will display appropriate information.
Timeline (green highlight) - includes the next timeline charts:
CPU utilization of the application in the top of the panel.
Top left corner displays current Time interval. By default the application’s lifespan is got as Time interval and in this case top left corner displays:
Selection: <empty>; in other case current Time interval is shown, for example :
Selection: 21556 : 35899.
All panels except Filters depend on the current Time interval.
It is possibly to set Time interval via mouse: click and drag
Left Mouse Button to set new Time interval.
The chart can handle
Right Mouse Button.
Timeline Context Menu has next entries:
To reset Time interval click outside selected area.
To set zoom in/out the combination
ctrl + Whell Up/Down Mouse Button should bu used.
GC, JIT or CPU Utilization for separate threads in the rest part of the panel.
Depends on the current Call Tree and methods filter field Value on the left below chart shows appropriate inforamtion: Time (for example:
Value: 00.59.920), Allocated Memory (for example :
Value: 56.36 MB) or Samples (for example :
Depends on the current Thread Timeline filter charts shows appropriate information.
Methods panel depends on the selected thread.
Methods (blue highlight)
Panel consists of 3 tabs:
Top Methods and Call Tree - displays top methods and call tree by the selected Call Tree and methods filter on the selected Time interval for the selected thread.
Each entry includes the next fields splitted by `·` symbol:
Hot Path - displays hot path by the selected Call Tree and methods filter on the selected Time interval for the selected thread. In the collapsed state the Hot Path tab displays the hottest method. In the expanded state the Hot Path tab displays the whole path from this method to the root method.
Each entry includes the next fields splitted by `·` symbol:
The viewer has 4 tabs:
Heap Profile - shows heap information during application’s lifespan.
The chart has 4 types of the optional curves:
For more information, see, here.
Memory Profile - shows dynamic memory information during application’s lifespan.
The chart has 3 types of the curves:
Data Type Allocations - shows information about all allocations during application’s lifespan.
There is list of all memory allocations. A list entry has the next fields:
Data Type Charts - shows detailed information about all allocations during application’s lifespan.
The tab has two areas: