- Main Page
- Modules
- Data Structures
- Related Pages

nvtxNameCategoryA
nvtxNameCategoryW
nvtxNameClCommandQueueA
nvtxNameClCommandQueueW
nvtxNameClContextA
nvtxNameClContextW
nvtxNameClDeviceA
nvtxNameClDeviceW
nvtxNameClEventA
nvtxNameClEventW
nvtxNameClMemObjectA
nvtxNameClMemObjectW
nvtxNameClProgramA
nvtxNameClProgramW
nvtxNameClSamplerA
nvtxNameClSamplerW
nvtxNameCuContextA
nvtxNameCuContextW
nvtxNameCudaDeviceA
nvtxNameCudaDeviceW
nvtxNameCudaEventA
nvtxNameCudaEventW
nvtxNameCudaStreamA
nvtxNameCudaStreamW
nvtxNameCuDeviceA
nvtxNameCuDeviceW
nvtxNameCuEventA
nvtxNameCuEventW
nvtxNameCuStreamA
nvtxNameCuStreamW
nvtxNameOsThreadA
nvtxNameOsThreadW

NVTX_DECLSPEC void NVTX_API nvtxNameCategoryW | ( | uint32_t | category,
|  | const wchar_t * | name
| ) |  |

Categories are used to group sets of events. Each category is identified through a unique ID and that ID is passed into any of the marker/range events to assign that event to a specific category. The nvtxNameCategory function calls allow the user to assign a name to a category ID.

Parameters:

  category | - The category ID to name.
  name | - The name of the category.

Remarks:
  The category names are tracked per process.

Example:
  nvtxNameCategory(1, "Memory Allocation");
  nvtxNameCategory(2, "Memory Transfer");
  nvtxNameCategory(3, "Memory Object Lifetime");

Version:
  Supported with NVTX version 1 or higher.