Totalview® for HPC User Guide : PART IV Advanced Tools and Customization : Chapter 22 Group, Process, and Thread Control : Setting Group Focus : Merging Focuses
Merging Focuses
When you specify more than one focus for a command, the CLI merges them. In the following example, the focus indicated by the prompt—this focus is called the outer focus—controls the display. This example shows what happens when dfocus commands are strung together:
t1.<> f d
d1.<
d1.<> f tL dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
d1.<> f tL f p dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
1.3: 37258.3 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
d1.<> f tL f p f D dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
1.2: 37258.2 Stopped PC=0xffffffffffffffff
1.3: 37258.3 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
d1.<> f tL f p f D f L dstatus
1: 37258 Breakpoint [omp_prog]
1.1: 37258.1 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
1.3: 37258.3 Breakpoint PC=0x1000acd0,
[./omp_prog.f#35]
Stringing multiple focuses together might not produce the most readable result. In this case, it shows how one dfocus command can modify what another sees and acts on. The ultimate result is an arena that a command acts on. In these examples, the dfocus command tells the dstatus command what to display.