__itt_metadata_add_with_scope
void _itt_metadata_add_with_scope(const __itt_domain * domain,
__itt_scope scope, __itt_string_handle *key, __itt_metadata_type type,
size_t count, void *data);
Attaches user-specified metadata to a task or marker instance, using a scope instead of an ID to identify the target task or marker instance.
Parameters:
[in] domain The domain controlling the call
[in] scope The scope for the metadata is to be added
[in] key The metadata name
[in] type The metadata type
[in] count The number of elements of the given type; if count == 0, no metadata will be added
[in] data The metadata itself
See Also
__itt_scope
__itt_metadata_str_add_with_scope