11class LowLevelRenderer;
73 unsigned int currentFrame = 0;
76 static const unsigned int frames = 100;
77 unsigned int frame = 0;
78 float frameTimes[2][frames];
Singleton class that holds all subsystems.
Definition: Managers.hpp:16
A profiling event on the timeline.
Definition: Event.hpp:10
A thread containing events.
Definition: Thread.hpp:12
A timeline.
Definition: Timeline.hpp:12
Handles profiling.
Definition: ProfilingManager.hpp:15
unsigned int GetFrameCount() const
Get number of frames being monitored.
Definition: ProfilingManager.cpp:89
bool Active() const
Check whether ProfilingManager is active.
Definition: ProfilingManager.cpp:51
void SetActive(bool active)
Set whether ProfilingManager is active.
Definition: ProfilingManager.cpp:55
void EndFrame()
End profiling a frame and collect the results.
Definition: ProfilingManager.cpp:36
const Profiling::Timeline & GetTimeline() const
Get the timeline.
Definition: ProfilingManager.cpp:105
const float * GetCPUFrameTimes() const
Get the measured CPU frame times.
Definition: ProfilingManager.cpp:93
void FetchGPUTimeline()
Get GPU timeline from the render manager.
Definition: ProfilingManager.cpp:97
void BeginFrame()
Begin profiling a frame.
Definition: ProfilingManager.cpp:24
Low level renderer abstracting the underlaying graphics API (OpenGL or Vulkan).
Definition: LowLevelRenderer.hpp:27
Definition: Editor.hpp:18