Open topic with navigation
Tegra System Profiler is a multi-core CPU sampling profiler that provides an interactive view of captured profiling data, helping improve overall application performance. The NVIDIA Tools Extension Library (NVTX) is a powerful mechanism that allows users to manually instrument their application. Tegra System Profiler can then collect the information and present it on the timeline.
Tegra System Profiler supports version 1.0 of the NVTX specification, on both Android and Linux-based target devices.
The following features are supported:
To use NVTX in your application, follow these steps:
#include "nvToolsExt.h"in your source code. This header file is located in the
Target-arm/nvtx/includedirectory on the host.
libnvToolsExt.astatic library (
Target-arm/armv8directories on the host.
Target-arm-linux/armv8directories on the host.
-pthread -ldl -lrt.
nvtxRangePushA("main")in the beginning of the
nvtxRangePop()just before the return statement in the end.
NVTX_INJECTION32_PATH=/opt/nvidia/tegra_system_profiler/libToolsInjection32.so (for ARMv7 processes) NVTX_INJECTION64_PATH=/opt/nvidia/tegra_system_profiler/libToolsInjection64.so (for Aarch64 processes) NVTX_START_IMMEDIATELY=1
NVIDIA® GameWorks™ Documentation Rev. 1.0.200601 ©2014-2020. NVIDIA Corporation. All Rights Reserved.