[client/host/idd/lgmp] add additional timing metrics

This commit is contained in:
Geoffrey McRae
2026-08-03 10:57:32 +10:00
parent 3035fa6282
commit 7533c855c2
18 changed files with 339 additions and 88 deletions

View File

@@ -97,6 +97,12 @@ typedef struct CaptureFrame
uint32_t damageRectsCount;
FrameDamageRect damageRects[KVMFR_MAX_DAMAGE_RECTS];
// Producer-local durations. Absolute timestamps must not cross KVMFR as the
// client and producer use different monotonic clock domains.
uint64_t captureTime;
uint64_t postProcessTime;
uint64_t copyTime;
}
CaptureFrame;
@@ -146,8 +152,9 @@ typedef struct CaptureInterface
CaptureFrame * frame,
const size_t maxFrameSize);
CaptureResult (*getFrame )(
unsigned frameBufferIndex,
unsigned frameBufferIndex,
FrameBuffer * frame,
const size_t maxFrameSize);
const size_t maxFrameSize,
CaptureFrame * captureFrame);
}
CaptureInterface;