[idd] rgb24: isolate benchmark samples from cadence

Run effect timing samples only when the retained candidate pipeline is idle
and force each completed sample to publish immediately. This prevents work
from superseded candidates from being charged to a surviving sample.

Include the indirect CPU copy to IVSHMEM in the measured copy stage while
preserving the wall-clock fallback when GPU timestamps are unavailable.
This commit is contained in:
Geoffrey McRae
2026-08-05 20:48:50 +10:00
parent 13a34b383d
commit ff5b43173a
2 changed files with 36 additions and 13 deletions

View File

@@ -137,7 +137,7 @@ private:
const CFrameScheduler::Schedule& schedule, bool periodic,
uint64_t publishStart);
bool HasReadyCandidate();
int AcquireCandidate();
int AcquireCandidate(bool exclusiveSample);
void ReleaseCandidate(unsigned candidateIndex);
bool EnsureCandidateResource(unsigned candidateIndex,
ID3D12Resource * source);