NVTX_DECLSPEC void NVTX_API nvtxNameOsThreadA ( uint32_t  threadId,
const char *  name 
)

Allows the user to name an active thread of the current process. If an invalid thread ID is provided or a thread ID from a different process is used the behavior of the tool is implementation dependent.

Parameters:
threadId- The ID of the thread to name.
name- The name of the thread.
Example:
nvtxNameOsThread(GetCurrentThreadId(), "MAIN_THREAD");
Version:
Supported with NVTX version 1 or higher.

Generated by Doxygen for NVIDIA Tools Extension Library  NVIDIA