__itt_metadata_str_add_with_scope

 

void _itt_metadata_str_add_with_scope(const __itt_domain *  domain,  

  __itt_scope scope, __itt_string_handle *key,

  const char * data, size_t length);

 

Attaches a user-specified string metadata item to a task or marker instance, using a scope instead of an ID to identify the target task or marker instance. The Unicode analogue of this function is __itt_metadata_wstr_add_with_scope.

Parameters:

[in] domain The domain controlling the call  

[in] scope   The scope for the metadata is to be added  

[in] key       The name of the metadata  

[in] data     The metadata itself  

[in] length   The number of characters in the string, or 0 if the length is unknown but the string is null-terminated  

See Also

__itt_metadata_type
_itt_metadata_add

__itt_metadata_str_add_with_scope