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... | |
void nvtx_helper_push_pop | ( | char * | context | ) |
Function definition for pushing/popping a NVTX range.
[in] | context | If specified, calls nvtxRangePushA(). If not specified(NULL), nvtxRangePop() gets called. |
void nvtx_helper_start_end | ( | char * | context, |
unsigned long * | id | ||
) |
Function definition for starting/stopping a NVTX range.
[in] | context | If specified, calls nvtxRangeStartA(). If not specified (NULL), nvtxRangeEnd() gets called. |
[in] | id | The unique ID used to correlate a pair of Start and End events. |