Part 6: Comparing Trace Data
- Updated2023-02-21
- 5 minute(s) read
Part 6: Comparing Trace Data
In Part 5 of this tutorial, you execute a second trace session and filter the trace data in the table pane. In Part 6 of this tutorial, you split the table pane or use the Compare Traces window to compare the traces you executed in previous parts of this tutorial.
Splitting the Table Pane
You can split the table pane into two to compare the trace data in two displays which contain the same trace data.
- In the Desktop Execution Trace Toolkit, select File»Open to open Desktop Execution Trace Toolkit.lvproj.det you saved in Part 5.
- Click the View tab and click the Split image to split the table pane horizontally. The toolkit displays the same trace data in two displays.
Tip You also can click the arrow below Split and select Split Pane (Up/Down) from the pull-down menu to split the table pane vertically. - Identify the bookmarks
for the sessions, which are green icons on the vertical scroll bars in the two displays. The Desktop Execution Trace Toolkit automatically creates bookmarks when you start a new trace session. In this example, the two bookmarks represent the two trace sessions you executed in Part 3 and Part 5 respectively.
- Hover over the first bookmark in the left display. The toolkit displays Navigate to Session 1: and the time when the first session starts. Click the bookmark to navigate to the first event of the first session.
- Click the second bookmark in the right display to navigate to the first event of the second session. Move the vertical scroll bar to display the first event at the top of the display.
- Compare the two sessions to locate the differences between the two trace sessions.
Tip You also can use the Split button to review different parts in a long trace. - Click Reset Pane on the View tab to display the trace data in one display.
Using the Compare Traces Window
You also can use the Compare Traces window to compare two trace sessions of the same or different trace files. The Compare Traces window highlights the differences to make it easier to compare trace sessions.
|
|||
|
|||
|
|||
![]() |
|
||
![]() |
|
||
|
|||
|
You also can compare the trace sessions of two trace files by clicking New Trace on the Home tab, opening a trace file or executing a trace session in the new trace window, and comparing the trace sessions of the two trace files in the Compare Traces window.
![]() |
Tip The Desktop Execution Trace Toolkit takes a long time to compare trace sessions with large amounts of data and the comparison results may be undesirable. You can specify a reasonable value in the Begin Index or End Index field to reduce the amount of trace data to compare. You also can click Filter Settings on the View tab to filter out the events you do not need to analyze. |
![]() |
![]() |