Class NVTXRange

Class Documentation

class flamegpu::util::nvtx::NVTXRange

Scope-based NVTX ranges. Push at construction, Pop at destruction.

Public Functions

inline explicit NVTXRange(const char *label)

Constructor which pushes an NVTX marker onto the stack with the specified label


NVTX_RANGE to use with minimal performance impact


label – the label for the nvtx range.

inline ~NVTXRange()

Destructor which pops a marker off the nvtx stack.