MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / enter

Method enter

Source/Falcor/Utils/Timing/Profiler.cpp:473–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471public:
472 PythonProfilerEvent(RenderContext* pRenderContext, std::string_view name) : mpRenderContext(pRenderContext), mName(name) {}
473 void enter() { mpRenderContext->getProfiler()->startEvent(mpRenderContext, mName); }
474 void exit(pybind11::object, pybind11::object, pybind11::object) { mpRenderContext->getProfiler()->endEvent(mpRenderContext, mName); }
475
476private:

Callers

nothing calls this directly

Calls 2

startEventMethod · 0.80
getProfilerMethod · 0.80

Tested by

no test coverage detected