NVTX C API Reference v3
NVIDIA Tools Extension Library
Loading...
Searching...
No Matches
Data Fields
nvtxPayloadEnum_t Struct Reference

This type is used to describe an enumeration. More...

#include <nvToolsExtPayload.h>

Data Fields

const char * name
 
uint64_t value
 
int8_t isFlag
 

Detailed Description

This type is used to describe an enumeration.

Since the value of an enum entry might not be meaningful for the analysis and/or visualization, a tool can show the name of enum entry instead.

An array of this struct is passed to nvtxPayloadEnumAttr_t::entries to be finally registered via nvtxPayloadEnumRegister with the NVTX handler.

Note
EXPERIMENTAL

Definition at line 846 of file nvToolsExtPayload.h.

Field Documentation

◆ isFlag

int8_t nvtxPayloadEnum_t::isFlag

Indicates that this entry sets a specific set of bits, which can be used to define bitsets.

Definition at line 862 of file nvToolsExtPayload.h.

◆ name

const char* nvtxPayloadEnum_t::name

Name of the enum value.

Definition at line 851 of file nvToolsExtPayload.h.

◆ value

uint64_t nvtxPayloadEnum_t::value

Value of the enum entry.

Definition at line 856 of file nvToolsExtPayload.h.


The documentation for this struct was generated from the following file: