Home

 

UML sequence diagrams

You can also analyze the graphical details of the execution flow using the data collected with Execution Time Analysis. These graphical details are displayed using the UML sequence diagram notation. The representation of time in these diagrams helps in determining bottlenecks in application performance as well as network communication. The following types of diagrams are available:

UML2 Class Interactions: Shows interactions of classes that participate in the execution of an application.

UML2 Object Interactions: Shows interactions of objects that participate in the execution of an application.

UML2 Thread Interactions: Shows interactions of methods that execute in different threads, which participate in the execution of an application.

To display UML2 interaction diagrams, do these steps:

In the Profiling Monitor view, right-click the entry and select Open With Æ UML2 Class interactions (Figure | 7-16). You have to scroll to find suitable interactions.

Figure 27-16 UML2 Interaction

The other two UML diagrams are very similar: UML2 Object Interactions and UML2 Thread Interactions.

You can drill down into a lifeline that allows you to view all the trace interactions within a particular lifeline (right-click the class and select Drill down into selected lifeline). This feature helps to trace the root cause of a problem from a host, to a process, to a thread, and eventually to a class or an object.

You can highlight a call stack to view all the methods invocations in a call stack by right-clicking a method and selecting Highlight call stack.

ibm.com/redbooks