g_carbProfiler
Defined in carb/profiler/IProfiler.h
-
std::atomic<carb::profiler::IProfiler*> g_carbProfiler
Global pointer used to store the carb::profiler::IProfiler interface.
A copy of this pointer is stored in each Carbonite client (i.e. plugin/app). For applications, this pointer is declared by OMNI_APP_GLOBALS. For plugins, this pointer is declared by CARB_PROFILER_GLOBALS via OMNI_MODULE_GLOBALS.
This pointer is an implementation detail transparent to users. However, a linker error pointing to this variable usually indicates one of the
_GLOBALS
macros mentioned above were not called.