OmniSciDB  d2f719934e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nvtx_helpers.cpp File Reference
#include "Shared/nvtx_helpers.h"
#include <array>
#include <sstream>
#include <sys/syscall.h>
#include <unistd.h>
#include <boost/filesystem/path.hpp>
#include "Logger/Logger.h"
+ Include dependency graph for nvtx_helpers.cpp:

Go to the source code of this file.

Classes

struct  nvtx_helpers::CategoryInfo
 

Namespaces

 nvtx_helpers
 
 nvtx_helpers::anonymous_namespace{nvtx_helpers.cpp}
 

Macros

#define NUM_CATEGORIES   4u
 
#define SET_OMNISCI_EVENT_CATEGORY   0
 

Functions

void nvtx_helpers::init ()
 
void nvtx_helpers::shutdown ()
 
const nvtxDomainHandle_t nvtx_helpers::get_omnisci_domain ()
 
nvtxEventAttributes_t nvtx_helpers::anonymous_namespace{nvtx_helpers.cpp}::make_omnisci_event (Category c, const char *name)
 
std::string nvtx_helpers::anonymous_namespace{nvtx_helpers.cpp}::filename (char const *path)
 
void nvtx_helpers::omnisci_range_push (Category c, const char *name, const char *file)
 
void nvtx_helpers::omnisci_range_pop ()
 
nvtxRangeId_t nvtx_helpers::omnisci_range_start (Category c, const char *name)
 
void nvtx_helpers::omnisci_range_end (nvtxRangeId_t r)
 
void nvtx_helpers::omnisci_set_mark (Category c, const char *name)
 
void nvtx_helpers::name_current_thread (const char *name)
 

Variables

static std::array
< CategoryInfo, NUM_CATEGORIES
nvtx_helpers::g_category_infos = {}
 
static nvtxDomainHandle_t nvtx_helpers::g_omnisci_domain = nullptr
 

Macro Definition Documentation

#define NUM_CATEGORIES   4u
#define SET_OMNISCI_EVENT_CATEGORY   0

Definition at line 30 of file nvtx_helpers.cpp.