Determining the time elapsed between consecutive events

Sequence diagrams provide execution information in the form of causal dependent events, which are log record interactions.

You can locate the exact point in the execution flow of your application where a large amount of time elapsed between two consecutive events by using these diagrams.

Follow these steps:

  1. To the left of the Sequence Diagram view, notice the vertical bar.
  2. Locate any red rectangle along its length. The position of the rectangle on the bar corresponds horizontally to the event represented in the view. The intensity of the red color of the rectangle corresponds to the amount of time elapsed between the consecutive events.
  3. Double-click the red rectangle. All log records (represented in the view by vertical outline bars) that are executing during this time period are targeted, and the sections of those records that required that amount of time to be completed are highlighted with the same red color. It is quite an accurate indication since in many cases it will point to either part of a log record, or the whole record.

 

Related concepts
Determining problems in distributed applications using the Log and Trace Analyzer

Related tasks
Working with log files

Related reference
Log view