Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
nvtx.h File Reference
#include "realm/realm_config.h"
#include <map>
#include <string>
#include <vector>
Include dependency graph for nvtx.h:

Go to the source code of this file.

Classes

struct  Realm::NvtxARGB
 
struct  Realm::NvtxCategory
 
struct  Realm::nvtxScopedRange
 

Namespaces

namespace  Realm
 

Enumerations

enum  Realm::nvtx_color : uint32_t {
  Realm::white = NvtxARGB(255, 255, 255).to_uint() , Realm::red = NvtxARGB(255, 0, 0).to_uint() , Realm::green = NvtxARGB(0, 255, 0).to_uint() , Realm::blue = NvtxARGB(0, 0, 255).to_uint() ,
  Realm::purple = NvtxARGB(128, 0, 128).to_uint() , Realm::lawn_green = NvtxARGB(124, 252, 0).to_uint() , Realm::cyan = NvtxARGB(0, 255, 255).to_uint() , Realm::maroon = NvtxARGB(128, 0, 0).to_uint() ,
  Realm::navy = NvtxARGB(0, 0, 128).to_uint() , Realm::magenta = NvtxARGB(255, 0, 255).to_uint() , Realm::yellow = NvtxARGB(255, 255, 0).to_uint() , Realm::gray = NvtxARGB(128, 128, 128).to_uint() ,
  Realm::teal = NvtxARGB(0, 128, 128).to_uint() , Realm::olive = NvtxARGB(128, 128, 0).to_uint()
}
 

Functions

void Realm::init_nvtx_thread (const char *thread_name)
 
void Realm::init_nvtx (std::vector< std::string > &nvtx_modules)
 
void Realm::finalize_nvtx_thread (void)
 
void Realm::finalize_nvtx (void)
 
void Realm::nvtx_range_push (NvtxCategory *category, const char *message, uint32_t color=nvtx_color::white, int32_t payload=0)
 
void Realm::nvtx_range_push (const std::string &name, const char *message, uint32_t color=nvtx_color::white, int32_t payload=0)
 
void Realm::nvtx_range_pop (void)
 
nvtxRangeId_t Realm::nvtx_range_start (NvtxCategory *category, const char *message, uint32_t color=nvtx_color::white, int32_t payload=0)
 
nvtxRangeId_t Realm::nvtx_range_start (const std::string &name, const char *message, uint32_t color=nvtx_color::white, int32_t payload=0)
 
void Realm::nvtx_range_end (nvtxRangeId_t id)
 
void Realm::nvtx_mark (NvtxCategory *category, const char *message, uint32_t color=nvtx_color::white, int32_t payload=0)
 
void Realm::nvtx_mark (const std::string &name, const char *message, uint32_t color=nvtx_color::white, int32_t payload=0)