44 void DrawPerfWindow();
45 void DrawTextureCache();
46 void DrawTextureInspector();
48 void DrawRendererStats();
49 void DrawWorldViewStats();
50 void DrawImGuiStats();
51 void DrawInputDebug();
54 static const int NUM_FRAMES = 60;
56 std::array<float, NUM_FRAMES> history;
64 CounterInfo m_fpsCounter;
65 CounterInfo m_physCounter;
66 CounterInfo m_piguiCounter;
68 MemoryInfo process_mem;
70 float framesThisSecond = 0;
71 float physFramesThisSecond = 0;
73 float lastUpdateTime = 0;
std::map< std::string, uint32_t > FrameInfo
Definition PerfStats.h:26
void UpdateCounter(CounterType counter, float counterTime)
void Update(float deltaTime)
void SetShowDebugInfo(bool open)
void UpdateFrameInfo(int framesThisSecond, int physFramesThisSecond)
CounterType
Definition PerfInfo.h:18
@ COUNTER_FPS
Definition PerfInfo.h:19
@ COUNTER_PHYS
Definition PerfInfo.h:20
@ COUNTER_PIGUI
Definition PerfInfo.h:21
void SetUpdatePause(bool pause)
void ClearCounter(CounterType counter)
Definition LuaBody.cpp:29
size_t currentMemSize
Definition PerfInfo.h:26
size_t peakMemSize
Definition PerfInfo.h:27