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.