VTK  9.4.20241117
Public Member Functions | Static Public Attributes | List of all members
vtkAnariProfiling Class Reference

Allows instrumenting of the VTK ANARI source code. More...

#include <vtkAnariProfiling.h>

Public Member Functions

 vtkAnariProfiling ()
 
 vtkAnariProfiling (const char *label, uint32_t color)
 
 ~vtkAnariProfiling ()
 

Static Public Attributes

static constexpr uint32_t BROWN = 0xFF8B4513
 32-bit ARGB color.
 
static constexpr uint32_t RED = 0xFFFF0000
 
static constexpr uint32_t MAROON = 0xFF800000
 
static constexpr uint32_t YELLOW = 0xFFFFFF00
 
static constexpr uint32_t GOLD = 0xFFFFD700
 
static constexpr uint32_t GREEN = 0xFF008000
 
static constexpr uint32_t LIME = 0xFF00FF00
 
static constexpr uint32_t BLUE = 0xFF0000FF
 
static constexpr uint32_t AQUA = 0xFF00FFFF
 

Detailed Description

Allows instrumenting of the VTK ANARI source code.

This class uses NVTX (NVIDIA Tools Extension Library) for annotating source code to provide contextual information for further analysis and profiling. If NVTX wasn't enabled during the build process, then the usage of the class will essentially be a no-op.

Thanks:
Kevin Griffin kgrif.nosp@m.fin@.nosp@m.nvidi.nosp@m.a.co.nosp@m.m for creating and contributing the class and NVIDIA for supporting this work.

Definition at line 25 of file vtkAnariProfiling.h.

Constructor & Destructor Documentation

◆ vtkAnariProfiling() [1/2]

vtkAnariProfiling::vtkAnariProfiling ( )

◆ vtkAnariProfiling() [2/2]

vtkAnariProfiling::vtkAnariProfiling ( const char *  label,
uint32_t  color 
)

◆ ~vtkAnariProfiling()

vtkAnariProfiling::~vtkAnariProfiling ( )

Member Data Documentation

◆ BROWN

constexpr uint32_t vtkAnariProfiling::BROWN = 0xFF8B4513
staticconstexpr

32-bit ARGB color.

0x[alpha][red][green][blue]

Definition at line 35 of file vtkAnariProfiling.h.

◆ RED

constexpr uint32_t vtkAnariProfiling::RED = 0xFFFF0000
staticconstexpr

Definition at line 36 of file vtkAnariProfiling.h.

◆ MAROON

constexpr uint32_t vtkAnariProfiling::MAROON = 0xFF800000
staticconstexpr

Definition at line 37 of file vtkAnariProfiling.h.

◆ YELLOW

constexpr uint32_t vtkAnariProfiling::YELLOW = 0xFFFFFF00
staticconstexpr

Definition at line 38 of file vtkAnariProfiling.h.

◆ GOLD

constexpr uint32_t vtkAnariProfiling::GOLD = 0xFFFFD700
staticconstexpr

Definition at line 39 of file vtkAnariProfiling.h.

◆ GREEN

constexpr uint32_t vtkAnariProfiling::GREEN = 0xFF008000
staticconstexpr

Definition at line 40 of file vtkAnariProfiling.h.

◆ LIME

constexpr uint32_t vtkAnariProfiling::LIME = 0xFF00FF00
staticconstexpr

Definition at line 41 of file vtkAnariProfiling.h.

◆ BLUE

constexpr uint32_t vtkAnariProfiling::BLUE = 0xFF0000FF
staticconstexpr

Definition at line 42 of file vtkAnariProfiling.h.

◆ AQUA

constexpr uint32_t vtkAnariProfiling::AQUA = 0xFF00FFFF
staticconstexpr

Definition at line 43 of file vtkAnariProfiling.h.


The documentation for this class was generated from the following file: