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:
eventAttrib.
version = NVTX_VERSION;
eventAttrib.
size = NVTX_EVENT_ATTRIB_STRUCT_SIZE;
eventAttrib.
color = 0xFF880000;
- Version:
- Supported with NVTX version 1 or higher.