__itt_metadata_add

 

void ITTAPI __itt_metadata_add  (const __itt_domain *  domain,  

  __itt_id  id,  

  __itt_string_handle *  key,  

  __itt_metadata_type  type,  

  size_t  count,  

  void *  data   

 )

 

Attaches user specified metadata to a task or a marker instance.

NOTE

The __itt_metadata_add function must be called from the same thread on which the target task or marker instance was traced.

Parameters:

[in] domain  The domain controlling the call  

[in] id          The identifier of the instance to which the metadata is to be added, or __itt_null to add to the current task  

[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_metadata_type
__itt_metadata_str_add

__itt_metadata_add