NVIDIA DeepStream SDK API Reference

9.1 Release
sources/includes/nvtx_helper.h File Reference

Detailed Description

Helper library for setting NVTX markers.

Definition in file sources/includes/nvtx_helper.h.

Go to the source code of this file.

Functions

void nvtx_helper_push_pop (char *context)
 Function definition for pushing/popping a NVTX range. More...
 
void nvtx_helper_start_end (char *context, unsigned long *id)
 Function definition for starting/stopping a NVTX range. More...
 

Function Documentation

◆ nvtx_helper_push_pop()

void nvtx_helper_push_pop ( char *  context)

Function definition for pushing/popping a NVTX range.

Parameters
[in]contextIf specified, calls nvtxRangePushA(). If not specified(NULL), nvtxRangePop() gets called.

◆ nvtx_helper_start_end()

void nvtx_helper_start_end ( char *  context,
unsigned long *  id 
)

Function definition for starting/stopping a NVTX range.

Parameters
[in]contextIf specified, calls nvtxRangeStartA(). If not specified (NULL), nvtxRangeEnd() gets called.
[in]idThe unique ID used to correlate a pair of Start and End events.