mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[client] metrics: hide presentation timing
This commit is contained in:
@@ -219,7 +219,7 @@ static bool rbCalcMetrics(int index, void * value_, void * udata_)
|
|||||||
#define TIMING_PLOT_WINDOW_NS 20000000000ULL
|
#define TIMING_PLOT_WINDOW_NS 20000000000ULL
|
||||||
#define TIMING_PLOT_BUCKET_NS \
|
#define TIMING_PLOT_BUCKET_NS \
|
||||||
(TIMING_PLOT_WINDOW_NS / TIMING_PLOT_BUCKETS)
|
(TIMING_PLOT_WINDOW_NS / TIMING_PLOT_BUCKETS)
|
||||||
#define FRAME_TIMING_STAGE_COUNT OVERLAY_FRAME_TIMING_COUNT
|
#define FRAME_TIMING_STAGE_COUNT OVERLAY_FRAME_TIMING_PRESENT
|
||||||
|
|
||||||
static const char * const frameTimingLabels[FRAME_TIMING_STAGE_COUNT] = {
|
static const char * const frameTimingLabels[FRAME_TIMING_STAGE_COUNT] = {
|
||||||
"Capture",
|
"Capture",
|
||||||
@@ -237,7 +237,6 @@ static const char * const frameTimingLabels[FRAME_TIMING_STAGE_COUNT] = {
|
|||||||
"Desktop",
|
"Desktop",
|
||||||
"Compose",
|
"Compose",
|
||||||
"Swap",
|
"Swap",
|
||||||
"Present",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct TimingPlotData
|
struct TimingPlotData
|
||||||
@@ -310,7 +309,6 @@ static bool accumulateFrameTimingSample(int index, void * value_, void * udata_)
|
|||||||
timing->desktop,
|
timing->desktop,
|
||||||
timing->compose,
|
timing->compose,
|
||||||
timing->swap,
|
timing->swap,
|
||||||
timing->present,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint64_t offset = timing->timestamp - data->windowStart;
|
const uint64_t offset = timing->timestamp - data->windowStart;
|
||||||
|
|||||||
Reference in New Issue
Block a user