30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Organizing Chaos<br />

Figure 25: Five Processes:<br />

Adding Workers and<br />

Lockstep Groups<br />

Many of the elements in this figure are used in other figures in this book.<br />

These elements are as follows:<br />

CPU The one outer square represents the CPU. All elements<br />

in the drawing operate within one CPU.<br />

Processes The five white inner squares represent processes being<br />

executed by the CPU.<br />

Control Group The large rounded rectangle that surrounds the five<br />

processes shows one control group. This diagram<br />

doesn’t indicate which process is the main procedure.<br />

Share Groups The two smaller rounded rectangles having white<br />

dashed lines surround processes in a share group. This<br />

drawing shows two share groups within one control<br />

group. The three processes in the first share group<br />

have the same executable. The two processes in the<br />

second share group share a second executable.<br />

The control group and the share group only contain processes. The next<br />

figure shows how <strong>TotalView</strong> organizes the threads in the previous figure. It<br />

adds a workers group and two lockstep groups. (See Figure 25.)<br />

Share Group 1<br />

Workers Group<br />

Lockstep Group 1<br />

Lockstep Group 2<br />

A Service Thread<br />

Share Group 2<br />

Manager Threads<br />

This figure doesn’t show the control group since it encompasses everything in this figure.<br />

That is, this example’s control group contains all of the program’s lockstep, share, and<br />

worker group’s processes and threads.<br />

24 Chapter 2: About Threads, Processes, and Groups

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

Saved successfully!

Ooh no, something went wrong!