mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-14 11:28:11 +00:00
[client] app: collect render and frame timing information
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "common/types.h"
|
||||
#include "common/ivshmem.h"
|
||||
#include "common/locking.h"
|
||||
#include "common/ringbuffer.h"
|
||||
|
||||
#include "spice/spice.h"
|
||||
#include <lgmp/client.h>
|
||||
@@ -96,9 +97,11 @@ struct AppState
|
||||
atomic_uint_least64_t frameTime;
|
||||
uint64_t lastFrameTime;
|
||||
uint64_t renderTime;
|
||||
uint64_t lastRenderTime;
|
||||
atomic_uint_least64_t frameCount;
|
||||
uint64_t renderCount;
|
||||
|
||||
RingBuffer renderTimings;
|
||||
RingBuffer frameTimings;
|
||||
|
||||
uint64_t resizeTimeout;
|
||||
bool resizeDone;
|
||||
|
Reference in New Issue
Block a user