Diff Selected Threads Dialog Box

Diff Selected Threads Dialog Box

Use the Diff Selected Threads Dialog Box to view the differences in time taken by two different iterations of a set of operations on the same items. For example, you can compare operations from different test sockets to determine which operations differ in performance between the sockets. To selectively compare operations that are within the same thread, such as for different UUTs run sequentially in the same socket, you must first isolate the operations to compare in new pretend threads using the Move Selected Operations dialog box before diffing the threads.

When you select OK , the Diff Selected Threads dialog matches the operations that use the same item in both threads, in chronological order. For each match, it reduces the length of the longer operation by the length of the shorter operation and sets the length of the shorter operation to zero. This removes the operation time that is common to both threads, leaving the excess operation time in the thread that took longer to execute the operation. You can then look for operations that take significantly longer in one thread vs. the other and also view how the differences in times are distributed between the threads. Because this dialog alters the timestamps of the events in the matching operations, you should consider saving a copy of your profile before performing a diff.

The dialog contains the following controls:

  • Mark with color/Do not mark —Specify whether to mark the matched operations with a selected color so that they are visually distinguished as a group.
  • Move to Unique Threads —Specifies whether to move the matched operations to new pretend threads with unique IDs so that the matched operations are easily distinguished from the unmatched operations left in the original threads.