LLVM OpenMP 20.0.0git
|
Instances of named entities can be explicitly associated with other instances using instance IDs and the relationship API calls. More...
Enumerations | |
enum | __itt_relation { __itt_relation_is_unknown = 0 , __itt_relation_is_dependent_on , __itt_relation_is_sibling_of , __itt_relation_is_parent_of , __itt_relation_is_continuation_of , __itt_relation_is_child_of , __itt_relation_is_continued_by , __itt_relation_is_predecessor_to } |
The kind of relation between two instances is specified by the enumerated type __itt_relation. More... | |
Functions | |
void ITTAPI | __itt_relation_add_to_current (const __itt_domain *domain, __itt_relation relation, __itt_id tail) |
Add a relation to the current task instance. | |
void ITTAPI | __itt_relation_add (const __itt_domain *domain, __itt_id head, __itt_relation relation, __itt_id tail) |
Add a relation between two instance identifiers. | |
Instances of named entities can be explicitly associated with other instances using instance IDs and the relationship API calls.
enum __itt_relation |
The kind of relation between two instances is specified by the enumerated type __itt_relation.
Relations between instances can be added with an API call. The relation API uses instance IDs. Relations can be added before or after the actual instances are created and persist independently of the instances. This is the motivation for having different lifetimes for instance IDs and the actual instances.
Definition at line 2825 of file ittnotify.h.
void ITTAPI __itt_relation_add | ( | const __itt_domain * | domain, |
__itt_id | head, | ||
__itt_relation | relation, | ||
__itt_id | tail | ||
) |
void ITTAPI __itt_relation_add_to_current | ( | const __itt_domain * | domain, |
__itt_relation | relation, | ||
__itt_id | tail | ||
) |
Add a relation to the current task instance.
The current task instance is the head of the relation.
[in] | domain | The domain controlling this call |
[in] | relation | The kind of relation |
[in] | tail | The ID for the tail of the relation |