NVIDIA DeepStream SDK API Reference

7.0 Release
nvtx_helper.h File Reference

Detailed Description

SPDX-FileCopyrightText: Copyright (c) 2018 NVIDIA CORPORATION & AFFILIATES.

All rights reserved. SPDX-License-Identifier: LicenseRef-NvidiaProprietary

NVIDIA CORPORATION, its affiliates and licensors retain all intellectual property and proprietary rights in and to this material, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this material and related documentation without an express license agreement from NVIDIA CORPORATION or its affiliates is strictly prohibited.

Helper library for setting NVTX markers

Definition in file 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.