NVTX_DECLSPEC void NVTX_API nvtxMarkEx ( const nvtxEventAttributes_t eventAttrib)

A marker can contain a text message or specify additional information using the event attributes structure. These attributes include a text message, color, category, and a payload. Each of the attributes is optional and can only be sent out using the nvtxMarkEx function. If nvtxMarkA or nvtxMarkW are used to specify the the marker or if an attribute is unspecified then a default value will be used.

Parameters:
eventAttrib- The event attribute structure defining the marker's attribute types and attribute values.
Example:
// zero the structure
nvtxEventAttributes_t eventAttrib = {0};
// set the version and the size information
eventAttrib.version = NVTX_VERSION;
eventAttrib.size = NVTX_EVENT_ATTRIB_STRUCT_SIZE;
// configure the attributes. 0 is the default for all attributes.
eventAttrib.colorType = NVTX_COLOR_ARGB;
eventAttrib.color = 0xFF880000;
eventAttrib.messageType = NVTX_MESSAGE_TYPE_ASCII;
eventAttrib.message.ascii = "Example nvtxMarkEx";
nvtxMarkEx(&eventAttrib);
Version:
Supported with NVTX version 1 or higher.

Generated by Doxygen for NVIDIA Tools Extension Library  NVIDIA