15 if ( g_appPtr !=
nullptr ) [[likely]]
29 case Optick::State::STOP_CAPTURE:
31 case Optick::State::DUMP_CAPTURE:
break;
46 OPTICK_SET_MEMORY_ALLOCATOR([](
size_t size) ->
void*
80 OPTICK_START_THREAD(threadName.data())
Class that provides an interface between our framework and the OS (start/stop, display support,...
static bool onProfilerStateChanged(Application *app, const Profiler::State state)
Divide::Application * g_appPtr
bool OnProfilerStateChanged(const Profiler::State state)
void OnThreadStart(std::string_view threadName)
void RegisterApp(Application *app)
static constexpr bool g_TrackOptickStateChange
static bool OnOptickStateChanged(const Optick::State::Type state)