Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.36

Profiler Timeline

The gathered profiled data is displayed on the Profiler Timeline, where you can easily see how various events correlate to each other. It can optionally be exported to various formats.

 

 

Elements of the Profiler Timeline window

Profiler Timeline is enabled by toggling the Profiler Timeline button AnalyzerProfilerTimelineButton in the Analyzer toolbar. Profiler timeline window can be renamed by right-clicking on window page.

 

Warning40x40

Time correlation is only possible when timestamps for recorded messages are provided by the BlueBox. Practically this means that if you are using e.g. a trace port, you will be able to correlate the program flow with other trace sources (e.g. network messages), while if you're using an On-Chip Trace Buffer (OCTB), the timestamps for CPU trace data are provided by the On-Chip trace module, and therefore can not be correlated to the rest of the trace traffic.
An exception to this is the Aurix OCTB where a special mechanism is employed to correlate the time base from the OCTB to the BlueBox time stamps, in which case time correlation is possible even if OCTB is used.

 

 

ProfilerTimellineWindow

 

number1

Profiler Timeline window toolbar

number2

Timeline

number3

Function events pane

Number4

Data events pane

Number5

AUX events pane

 

 

Toolbar

Most toolbar commands are also available from the context menu.

ProfilerAnalysis-Timeline-ContextButton

Current Task

Select the context you wish to analyze. Read more in chapter Context Selection.

ProfilerTimelineFilterItemsButton

Filter items

Opens a combox for Filter configuration. Read more in Profiler timeline Filtering chapter.

ProfilerTimelineHideItemsButton

Hide items with no activity

Hides all areas with no activity. Read more in Profiler timeline Filtering chapter.

InspectorsButoon

Post Process

Configure Inspectors.

ProfilerTimelineSaveButton

Export

Export the data.

ProfilerTimelineShowCodeButton

Show code

Toggle function events.

ProfilerTimelineShowdataButton

Show data

Toggle data events.

ProfilerTimelineShowauxButton

Show aux

Toggle AUX events.

ProfilerTimelineFindButton

Find

Find an item by name. Read more in Profiler timeline Searching chapter.

ProfilerTimelineSnapButton

Snap area on Find

If enabled, the result of Find will be snapped into view. Read more in Profiler timeline Searching chapter.

ProfilerTimelineZoomInButton

Zoom In

Zoom in the timeline from selected position (black line)

ProfilerTimelineZoomOUtButton

Zoom Out

Zoom out the timeline from selected position (black line)

ProfilerTimelineZoomAllButton

Zoom All

Zoom the entire timeline.

ProfilerZoomMarkersButton

Zoom in between Marker 1 and Marker 2

Zoom in the area between selected markers.

ShowMarkerButton

Show Markers

Toggle markers.

ProfilerAnalysis-Statistics-AreaStatistics-NavigationButtons-Instance

Next Statistics

Cycle through to the instance, statistics (available in Profiler Statistics windows).

ProfilerAnalysis-Statistics-AreaStatistics-NavigationButtons-Sum

Cumulative Statistics

A sum of statistics for all instances when the parent area was active (available in Profiler Statistics windows).

 

 

Context menu

Right-clicking in the area of Profiler Timeline window open context menu.

 

ProfilerTimelineContextmenu

 

Zoom -Zoom in, out, all and zoom between markers.

Go to - Move to position of Marker 1, Marker 2, Caret, Start, End, Trace, Next Bookmark, Previous Bookmark, Source, Dissasembly.

Markers - Set Marker 1 and Marker 2, Toogle Bookmark, Clear Bookmark, Remove Markers.

Find - Search for an item by name; search for previous/next. an item by name.

Filters - Add to filter or create new filter.

Properties - Open a dialog for the various statistics available.

Session Statistics - Opens dialog Properties for Session Statistics.

Area Statistics - Opens a new window Profiler Statistics for Area [name,file] where it is possible to define an area (e.g. function, variable state, OS task, Profiler Inspector state...) which will be used as a time-based filter for the Profiler Statistics.

Interval Statistics - Opens a new window Profiler Statistics: [Interval] to display timing statistics between two markers.

Insert File into Project - Insert Source file, Build file or HW into the project.

Add File to Templates - Create new template. Current file will be saved before creating a new template.

 

 

Profiler Timeline display

 

Toggling functions, data,  AUX

Toggle the display buttons ProfilerAnalysis-Timeline-ShowFunctionDataAUX to show:

  • Functions
  • Data (variables, OS States, instrumentation)
  • AUX (IO signals, network messages) signals

 

 

Timeline color coding

The first column displays the area name and the column Value shows the AUX/data value at the caret position.

 

 

Shape / Color

Applicable Area

Activity

ProfilerAnalysis-Timeline-RedBlock

Block / Red

Function, State, Task

The area is active (function executing in body, state is active, task is running).

ProfilerAnalysis-Timeline-LightRedBlock

Block / Light Red

Function, Task State

The area is suspended (function called another function, a task was preempted).

ProfilerAnalysis-Timeline-BlueBlock

Block / Blue

Function, Source Line, State

Multiple activities within a single display pixel. Zoom-in to get more information.

ProfilerAnalysis-Timeline-BrownBlock

Block / Dark yellow

Task

Except tasks in the running state.

ProfilerAnalysis-Timeline-GreenBlock

Block / Green

State

The State variable is in the neutral state (no task is executing).

ProfilerAnalysis-Timeline-RedGreenLine

Line / Red and Green

Data (state variable)

The data variable of state type shows state flow. Red lines indicate active states, green the neutral state.

ProfilerAnalysis-Timeline-BlueFlowLine

Line / Blue

Data

A data variable of regular type, state variable without neutral value, AUX flow.

 

 

 

Measuring time between events

If you would like to measure time between two arbitrary events in the Profiler Timeline (or trace window), right-click and from the context menu select Markers/Set 1 or Set 2. Set the two markers (blue and yellow) on the timeline events of your choice.

 

ProfilerAnalysis-TimelineCodeDataOS

 

 

number1

Set the black line.

Click on the timeline to get the time of the event. The position is marked with black line.

 

 

number2

Set Marker 1.

Alternatively use shortcuts for the blue marker - CTRL + left mouse click.

 

 

number3

Set Marker 2.

Alternatively use shortcut for yellow Marker - CTRL+ right mouse click.

 

Other tips:

  • Move markers by holding CTRL + move mouse left and right.
  • Use F4 and SHIFT + F4 to move between events on the timeline.
  • Hold CTRL + scroll the mouse wheel to zoom in and out of the timeline.
  • Use CTRL + left arrow and CTRL + right arrow to shift the timeline left and right.
  • The bar below the Analyzer Timeline will display the timestamp of each marker, as well as the difference between them.
ProfilerAnalysis-Timeline-Markers

 

Copyright© iSYSTEM AG Carl-Zeiss-Str.1 85247 Schwabhausen Germany