[client] metrics: hide presentation timing

This commit is contained in:
Geoffrey McRae
2026-08-06 17:56:42 +10:00
parent ee9d958626
commit d8604ec144

View File

@@ -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;