Display information for any existing team.
idb info team [ team_id, ... ]
team_id |
A team ID. |
An OpenMP* team is a set of one or more threads that executes a parallel region.
This command displays the following information for any existing teams, which you specify with team_id, in an OpenMP* application:
the parent team
the number of threads in a team
the team's location
If you do not specify team_id, this command shows all existing teams in the OpenMP* application.
The following example illustrates the type of information that idb info team displays:
(idb) idb info team
OpenMP Team: 1
Parent Team: -
Created At: unknown
Team members
[0] Thread 1, is master of team 5
OpenMP Team: 5
Parent Team: 1
Created At: "/c_omp_omp.c":main:21:60
Team members
[0] Thread 1, is master of team 6
[1] Thread 3, is master of team 9
OpenMP Team: 6
Parent Team: 5
Created At: "/c_omp_omp.c":main:30:59
Team members
[0] Thread 1
[1] Thread 4
[2] Thread 5
OpenMP Team: 9
Parent Team: 5
Created At: "/c_omp_omp.c":main:30:59
Team members
[0] Thread 3
[1] Thread 6
[2] Thread 7
In contrast, the following example illustrates the type of information that idb info openmp thread tree displays for the same thread team hierarchy:
(idb) idb info openmp thread tree
Team 1
`--[0] Thread 1
#--Team 5
|--[0] Thread 1
| #--Team 6
| |--[0] Thread 1
| |--[1] Thread 4
| `--[2] Thread 5
`--[1] Thread 3
#--Team 9
|--[0] Thread 3
|--[1] Thread 6
`--[2] Thread 7
Copyright © 1996-2010, Intel Corporation. All rights reserved.