mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 11:28:11 +00:00
[client] main: add graph for time spent rendering
This is the time spent in the on_render function, not the time between frames. Having this information helps diagnose slowdowns in renderers.
This commit is contained in:
@@ -119,6 +119,7 @@ struct AppState
|
||||
uint64_t lastRenderTime;
|
||||
bool lastRenderTimeValid;
|
||||
RingBuffer renderTimings;
|
||||
RingBuffer renderDuration;
|
||||
RingBuffer frameTimings;
|
||||
|
||||
atomic_uint_least64_t pendingCount;
|
||||
|
Reference in New Issue
Block a user