34#define PROFILE(name) Profiling::ProfilingScope __profileInstance(name)
A profiling event on the timeline.
Definition: Event.hpp:10
Run profiling.
Definition: Profiling.hpp:16
~ProfilingScope()
End profiling.
Definition: Profiling.cpp:38
ProfilingScope(const std::string &name)
Start profiling.
Definition: Profiling.cpp:32
Event * currentEvent
The current profiling event.
Definition: Profiling.cpp:10
bool cpuActive
Whether CPU profiling is active.
Definition: Profiling.cpp:9