30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 32: Step 7: Creating a<br />

Thread<br />

Figure 33: Step 8: Hitting a<br />

Breakpoint<br />

Creating Groups<br />

� Lockstep group: There are no lockstep groups because the threads are<br />

running.<br />

Step 7 A process within the control group creates a thread. This adds a second<br />

thread to one of the processes.<br />

� Control group: The group is unchanged.<br />

� Share group: The group is unchanged.<br />

� Workers group: <strong>TotalView</strong> adds a fifth thread to this group.<br />

� Lockstep group: There are no lockstep groups because the threads are<br />

running.<br />

Step 8 A breakpoint is set on a line in a process executing in the first share group.<br />

By default, <strong>TotalView</strong> shares the breakpoint. The program executes until all<br />

three processes are at the breakpoint.<br />

� Control group: The group is unchanged.<br />

� Share group: The groups are unchanged.<br />

� Workers group: The group is unchanged.<br />

� Lockstep groups: <strong>TotalView</strong> creates a lockstep group whose members<br />

are the four threads in the first share group.<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!