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.

Specifier Specifies<br />

Setting Group Focus<br />

gC All threads in the Thread of Interest (TOI) control group.<br />

gS All threads in the TOI share group.<br />

gW All worker threads in the control group that contains the TOI.<br />

gL All threads in the same share group within the process that<br />

contains the TOI that have the same PC as the TOI.<br />

pC All threads in the control group of the Process of Interest (POI). This<br />

is the same as gC.<br />

pS All threads in the process that participate in the same share group<br />

as the TOI.<br />

pW All worker threads in the POI.<br />

pL All threads in the POI whose PC is the same as the TOI.<br />

tC Just the TOI. The t specifier overrides the group specifier. So, for<br />

example, tW and t both name the current thread.<br />

tS<br />

tW<br />

tL<br />

Stepping commands behave differently if the group being stepped is a process group<br />

rather than a thread group. For example, aC and aS perform the same action, but aL is<br />

different.<br />

If you don’t add a PID or TID to your arena specifier, <strong>TotalView</strong> does it for<br />

you, taking the PID and TID from the current or default focus.<br />

The following are some additional examples. These examples add PIDs and<br />

TIDs numbers to the raw specifier combinations listed in the previous table:<br />

pW3 All worker threads in process 3.<br />

pW3.< All worker threads in process 3. The focus of this specifier<br />

is the same as the focus in the previous example.<br />

gW3 All worker threads in the control group that contains<br />

process 3. The difference between this and pW3 is that<br />

pW3 restricts the focus to one of the processes in the<br />

control group.<br />

gL3.2 All threads in the same share group as process 3 that<br />

are executing at the same PC as thread 2 in process 3.<br />

The reason this is a share group and not a control<br />

group is that different share groups can reside only in<br />

one control group.<br />

/3 Specifies processes and threads in process 3. The<br />

arena width, POI, and TOI are inherited from the existing<br />

P/T set, so the exact meaning of this specifier depends<br />

on the previous context.<br />

While the slash is unnecessary because no group is indicated,<br />

it is syntactically correct.<br />

g3.2/3 The 3.2 group ID is the name of the lockstep group for<br />

thread 3.2. This group includes all threads in the process<br />

3 share group that are executing at the same PC as<br />

thread 2.<br />

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

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

Saved successfully!

Ooh no, something went wrong!