NVTX C API Reference v3
NVIDIA Tools Extension Library
|
NVTX payload schema attributes. More...
#include <nvToolsExtPayload.h>
Data Fields | |
uint64_t | fieldMask |
Mask of valid fields in this struct. | |
const char * | name |
Name of the payload schema. (Optional) | |
uint64_t | type |
Payload schema type. (Mandatory). | |
uint64_t | flags |
Payload schema flags. (Optional) | |
const nvtxPayloadSchemaEntry_t * | entries |
Entries of a payload schema. (Mandatory). | |
size_t | numEntries |
Number of entries in the payload schema. (Mandatory) | |
size_t | payloadStaticSize |
The binary payload size in bytes for static payload schemas. | |
size_t | packAlign |
The byte alignment for packed structures. | |
uint64_t | schemaId |
void * | extension |
NVTX payload schema attributes.
Definition at line 758 of file nvToolsExtPayload.h.
const nvtxPayloadSchemaEntry_t* nvtxPayloadSchemaAttr_t::entries |
Entries of a payload schema. (Mandatory).
This field is a pointer to an array of schema entries, each describing a field in a data structure, e.g. in a C struct or union.
Definition at line 793 of file nvToolsExtPayload.h.
void* nvtxPayloadSchemaAttr_t::extension |
Flexible extension for schema attributes. (Do not use. Reserved for future use.)
Definition at line 832 of file nvToolsExtPayload.h.
uint64_t nvtxPayloadSchemaAttr_t::fieldMask |
Mask of valid fields in this struct.
Use the NVTX_PAYLOAD_SCHEMA_ATTR_FIELD_*
defines.
Definition at line 765 of file nvToolsExtPayload.h.
uint64_t nvtxPayloadSchemaAttr_t::flags |
Payload schema flags. (Optional)
Flags defined by NVTX_PAYLOAD_SCHEMA_FLAG_*
can be used to set additional properties of the schema.
Definition at line 785 of file nvToolsExtPayload.h.
const char* nvtxPayloadSchemaAttr_t::name |
Name of the payload schema. (Optional)
Definition at line 770 of file nvToolsExtPayload.h.
size_t nvtxPayloadSchemaAttr_t::numEntries |
Number of entries in the payload schema. (Mandatory)
Number of entries in the array of payload entries ENTRIES_FIELD.
Definition at line 800 of file nvToolsExtPayload.h.
size_t nvtxPayloadSchemaAttr_t::packAlign |
The byte alignment for packed structures.
If not specified, this field defaults to 0
, which means that the fields in the data structure are not packed and natural alignment rules can be applied.
Definition at line 819 of file nvToolsExtPayload.h.
size_t nvtxPayloadSchemaAttr_t::payloadStaticSize |
The binary payload size in bytes for static payload schemas.
If PAYLOAD_TYPE_FIELD is NVTX_PAYLOAD_SCHEMA_TYPE_DYNAMIC this value is ignored. If this field is not specified for a schema of type NVTX_PAYLOAD_SCHEMA_TYPE_STATIC, the size can be automatically determined by a tool.
Definition at line 810 of file nvToolsExtPayload.h.
uint64_t nvtxPayloadSchemaAttr_t::schemaId |
A static payload schema ID must be unique within the domain, >= NVTX_PAYLOAD_SCHEMA_ID_STATIC_START and < NVTX_PAYLOAD_SCHEMA_ID_DYNAMIC_START
Definition at line 826 of file nvToolsExtPayload.h.
uint64_t nvtxPayloadSchemaAttr_t::type |
Payload schema type. (Mandatory).
Use the NVTX_PAYLOAD_SCHEMA_TYPE_*
defines.
Definition at line 777 of file nvToolsExtPayload.h.