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.

Setting Breakpoints and Barriers<br />

Figure 235: Action Point ><br />

Properties Dialog Box<br />

The When Hit, Stop radio buttons indicate what other threads <strong>TotalView</strong><br />

stops when execution reaches the breakpoint, as follows:<br />

Scope What <strong>TotalView</strong> does:<br />

Group Stops all threads in the current thread’s control group.<br />

Process Stops all threads in the current thread’s process.<br />

Thread Stops only this thread.<br />

CLI: dbarrier –stop_when_hit<br />

After all processes or threads reach the barrier, <strong>TotalView</strong> releases all held<br />

threads. Released means that these threads and processes can now run.<br />

The When Done, Stop radio buttons tell <strong>TotalView</strong> what else it should stop,<br />

as follows:<br />

Scope What <strong>TotalView</strong> does:<br />

Group Stops all threads in the current thread’s control group.<br />

Process Stops all threads in the current thread’s process.<br />

Thread Stops only this thread.<br />

CLI: dbarrier –stop_when_done<br />

Creating a Satisfaction Set<br />

For even more control over what <strong>TotalView</strong> stops, you can select a satisfaction<br />

set. This set tells <strong>TotalView</strong> which threads must be held before it can<br />

release the group of threads. That is, the barrier is satisfied when <strong>TotalView</strong><br />

has held all of the indicated threads. Use the Satisfaction group items to<br />

tell <strong>TotalView</strong> that the satisfaction set consists of all threads in the current<br />

thread’s Control, Workers, or Lockstep group.<br />

364 Chapter 16: Setting Action Points

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

Saved successfully!

Ooh no, something went wrong!