__itt_relation
enum __itt_relation {
__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 __itt_relation API functions enable you to add relations between entity instances. When making __itt_relation API calls, you use IDs to specify the pair of instances that are related. This enables you to specify relations among entity instances before they are actually “alive”, since each ID has its own lifetimes that encompass the lifetimes of the entity it represents.
Values:
__itt_relation_is_dependent_on |
“A is dependent on B” means that A cannot start until B completes |
__itt_relation_is_sibling_of |
“A is sibling of B” means that A and B were created as a group |
__itt_relation_is_parent_of |
“A is parent of B” means that A created B |
__itt_relation_is_continuation_of |
“A is continuation of B” means that A continues but is not necessarily dependent on task B |
__itt_relation_is_child_of |
“A is child of B” means that A was created by B (inverse of is_parent_of) |
__itt_relation_is_continued_by |
“A is continued by B” A is an antecedent of B (inverse of is_continuation_of) |
__itt_relation_is_predecessor_to |
“A is predecessor to B” means that B cannot start until A completes (inverse of is_dependent_on) |
See Also
__itt_relation_add
__itt_relation_add_to_current