This section presents a series of examples that set and create groups.
You can use the following methods to indicate that thread 3 in process 2 is a worker thread:
dsetWGROUP(2.3)$WGROUP(2)
Assigns the group ID of the thread group of worker threads associated with process 2 to the WGROUP variable. (Assigning a nonzero value to WGROUP indicates that this is a worker group.)
dset WGROUP(2.3) 1
This is a simpler way of doing the same thing as the previous example.
dfocus 2.3dworker1
Adds the groups in the indicated focus to a workers group.
The first command creates a new group that contains all the threads from the process 2 share group; the second removes thread 2.3; and the third runs the remaining threads.
RELATED TOPICS
The dfocus command
dfocus in "CLI Commands" in the TotalView for HPC Reference Guide
The dgroup command
dgroup in "CLI Commands" in the TotalView for HPC Reference Guide
The dset command
dset in "CLI Commands" in the TotalView for HPC Reference Guide