OpenMP package¶
Capture Module¶
Representation Module¶
-
class
mcgdb.model.task.environment.openmp.representation.
Barrier
(*args, **kws)[source]¶ Bases:
mcgdb.model.task.environment.openmp.representation.Job
,mcgdb.toolbox.aspect.Tracker
-
dict_
= {}¶
-
last_number
= 0¶
-
list_
= []¶
-
stop_all_after
¶
-
threads_blocked_at
= {}¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
CriticalJob
(*args, **kws)[source]¶ Bases:
mcgdb.model.task.environment.openmp.representation.Job
-
dict_
= {}¶
-
last_number
= 0¶
-
list_
= []¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
DebuggerBarrier
(zone, all_workers, workers=[])[source]¶ Bases:
object
-
capture__release_barrier
= None¶
-
capture__set_barrier
= None¶
-
is_available
= False¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
Dependence
(*args, **kws)[source]¶ Bases:
mcgdb.toolbox.aspect.Tracker
-
addr_to_dep
= {}¶
-
last_number
= 0¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
Init
[source]¶ Bases:
object
-
after_init_cb
= None¶
-
break_after_init
= False¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
Job
(*args, **kws)[source]¶ Bases:
mcgdb.toolbox.aspect.Tracker
-
dict_
= {}¶
-
classmethod
init_dict
(key, self)¶ Add the current object to its class dictionnary (in __init__).
Parameters: - key -- Unique id of this object instance.
- self -- Object instance put in the dict.
-
classmethod
key_to_value
(key)¶ Get object identified with key key.
Parameters: key -- key to lookup.
-
last_number
= 0¶
-
list_
= []¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
ParallelJob
(*args, **kws)[source]¶ Bases:
mcgdb.model.task.environment.openmp.representation.Job
-
dict_
= {}¶
-
last_number
= 0¶
-
list_
= []¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
RuntimeController
[source]¶ Bases:
object
-
OMP_MAX_THREADS
= None¶
-
max_threads
¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
SectionJob
(*args, **kws)[source]¶ Bases:
mcgdb.model.task.environment.openmp.representation.Job
-
dict_
= {}¶
-
last_number
= 0¶
-
list_
= []¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
SingleJob
(*args, **kws)[source]¶ Bases:
mcgdb.model.task.environment.openmp.representation.Job
-
dict_
= {}¶
-
last_number
= 0¶
-
list_
= []¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
TaskJob
(*args, **kws)[source]¶ Bases:
mcgdb.model.task.environment.openmp.representation.Job
-
blockers
= {}¶
-
dict_
= {}¶
-
last_number
= 0¶
-
last_taskwait
= None¶
-
list_
= []¶
-
preferred_blocked
= None¶
-
-
class
mcgdb.model.task.environment.openmp.representation.
Worker
(*args, **kws)[source]¶ Bases:
mcgdb.model.task.representation.CommComponent
,mcgdb.toolbox.aspect.Tracker
-
TASK_MANAGER
¶ alias of
DefaultTaskManager
-
dict_
= {}¶
-
last_number
= 0¶
-
list_
= []¶
-
Interaction Module¶
-
class
mcgdb.model.task.environment.openmp.interaction.
cmd_omp_debug_block
[source]¶ Bases:
gdb.Command
-
class
mcgdb.model.task.environment.openmp.interaction.
cmd_omp_debug_unblock
[source]¶ Bases:
gdb.Command
-
class
mcgdb.model.task.environment.openmp.interaction.
cmd_omp_sched_single
[source]¶ Bases:
gdb.Command
-
class
mcgdb.model.task.environment.openmp.interaction.step.
cmd_omp_step
[source]¶ Bases:
gdb.Command
Steps inside the next OPM zone. Usage: (default) -> stop the first thread entering the zone all -> stop all the threads entering the zone out -> stop the end of the (inner most) zone
-
class
mcgdb.model.task.environment.openmp.interaction.sequence.
Barrier
(parent, _type, label=None, zindex=0)[source]¶ Bases:
mcgdb.model.task.environment.openmp.interaction.sequence.Block
-
class
mcgdb.model.task.environment.openmp.interaction.sequence.
Block
(parent, _type, label=None, zindex=0)[source]¶ Bases:
object
-
print_only_current
= False¶
-
zordered_edges
¶
-
-
class
mcgdb.model.task.environment.openmp.interaction.sequence.
Edge
(from_node, to_node, backwards=False, **kwargs)[source]¶ Bases:
object
-
class
mcgdb.model.task.environment.openmp.interaction.sequence.
Node
(name, worker)[source]¶ Bases:
object
-
all_nodes
= set()¶
-
first
= None¶
-
-
class
mcgdb.model.task.environment.openmp.interaction.sequence.
cmd_omp_sequence
[source]¶ Bases:
gdb.Command
-
changed
= True¶
-
sched_locked
= None¶
-
self
= None¶
-
thread_num
= None¶
-
-
class
mcgdb.model.task.environment.openmp.interaction.sequence.
param_graph_auto
[source]¶ Bases:
gdb.Parameter
-
auto_graph_enabled
= False¶
-
graph_cmd
= None¶
-