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.

Setting Group Focus<br />

The following are the group letters. These letters are in uppercase:<br />

C Control group<br />

All processes in the control group.<br />

D Default control group<br />

S Share group<br />

W Workers group<br />

All processes in the control group. The only difference between<br />

this specifier and the C specifier is that this letter<br />

tells the CLI not to display a group letter in the CLI prompt.<br />

The set of processes in the control group that have the<br />

same executable as the arena’s TOI.<br />

L Lockstep group<br />

The set of all worker threads in the control group.<br />

A set that contains all threads in the share group that have<br />

the same PC as the arena’s TOI. If you step these threads<br />

as a group, they proceed in lockstep.<br />

A Group Number You can identify a group by the number <strong>TotalView</strong> assigns to it. The following<br />

example sets the focus to group 3:<br />

dfocus 3/<br />

The trailing slash tells <strong>TotalView</strong> that you are specifying a group number<br />

instead of a PID. The slash character is optional if you’re using a group_letter.<br />

However, you must use it as a separator when entering a numeric group ID<br />

and a pid.tid pair. For example, the following example identifies process 2 in<br />

group 3:<br />

p3/2<br />

A Group Name You can name a set that you define. You enter this name with slashes. The<br />

following example sets the focus to the set of threads contained in process<br />

3 that are also contained in a group called my_group:<br />

dfocus p/my_group/3<br />

About Arena Specifier Combinations<br />

The following table lists what’s selected when you use arena and group<br />

specifiers to step your program:<br />

Specifier Specifies<br />

aC All threads.<br />

aS All threads.<br />

aW All threads in all workers groups.<br />

aL All threads.<br />

Every thread is a member of a control group and a member of a<br />

share group and a member of a lockstep group. Consequently, three<br />

of these definitions mean “all threads.”<br />

264 Chapter 13: Using Groups, Processes, and Threads

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

Saved successfully!

Ooh no, something went wrong!