Click on the Timeline link from Analysis Results view to view timeline data.
The following figure shows the trace data displayed in Timeline viewer.
Figure 1. Timeline Viewer
Timeline viewer has a tabbed interface. A tab for each source (usually a core) is created
automatically. Each tab has its independent timeline plot with its own setup of groups and
time unit. The timeline viewer can be controlled using the toolbar. The timeline data displays the functions that are executed in the application and the number of cycles each function takes when the application is run. The Timeline viewer shows a timeline graph in which the functions appear on y-axis and the number of cycles appear on x-axis. The green-colored bars show the time and cycles taken by the function.
The Timeline viewer has the following buttons:
- Selection Mode: Allows you to mark points in the function bars to measure the
difference of cycles between those points. To mark a point in the bar:
- Click Selection Mode.
- Click on the bar where you want to mark the point.
- A yellow vertical line appears displaying the number of cycles at that point.
- Right-click on another point in the bar.
- A red vertical line appears displaying the number of cycles at that point along with
the difference of cycles between two marked points.
- Zoom Mode: Allows you to zoom-in and zoom-out in the timeline graph. Zooming can be
performed using the mouse wheel (even if this mode is not selected).
- Full View: Resets to the default zoom that allows seeing the full timeline
-
Edit Groups: Allows you to customize the timeline according to the requirements. You can change the default color of the line bars representing the functions to differentiate. You can add/remove a function to/from the timeline. To perform these functions, select Edit Groups. The Edit Groups dialog box appears.
Figure 2. Edit Groups dialog box
You can perform the following operations in the Edit Groups dialog box: