Diagnose preview stalls and FIFO frame loss

- add detailed FIFO loss and frame-hold timing diagnostics
- report slow preview calls and per-stage GPU timing
- reduce redundant preview pipeline and DXGI setup work
- move preview performance metrics into the sample status display
- avoid duplicate frame-loss warnings
This commit is contained in:
Mark.lin
2026-08-13 10:49:09 +08:00
parent aad8419c2a
commit bab59efcb5
7 changed files with 149 additions and 39 deletions
+1
View File
@@ -73,6 +73,7 @@ private:
std::thread captureThread_;
uint64_t previewFailureCount_ = 0;
std::atomic<double> previewCallAverageMs_{0.0};
std::atomic<double> previewCallMaximumMs_{0.0};
std::atomic<uint64_t> previewCallSamples_{0};
QTimer *signalStatusTimer_ = nullptr;
QString lastSignalStatusText_;