debug: instrument StallWatchdog timing for a Windows CI trace
Build / macOS (macos-latest) (push) Successful in 56s
Build / Linux (ubuntu-24.04) (push) Successful in 1m11s
Build / Windows (windows-latest) (push) Successful in 6m28s

TEMPORARY. Prints the actual clock/backoff numbers on every poll so the
Windows job's log can be compared against Linux's, instead of guessing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-21 10:30:41 -07:00
co-authored by Claude Opus 5
parent 352a843d93
commit 422d871cfe
3 changed files with 67 additions and 0 deletions
+7
View File
@@ -202,6 +202,13 @@ public:
/// onFrameDelivered and by setExpectingFrames.
int attemptsThisStall() const { return attempts_; }
// TEMPORARY DEBUG ACCESSORS -- remove before merge.
long long dbgBackoffMs() const { return (long long)backoff_.count(); }
long long dbgTimeoutMs() const { return (long long)timeout_.count(); }
long long dbgMaxBackoffMs() const { return (long long)max_backoff_.count(); }
std::chrono::steady_clock::time_point dbgNextAllowed() const { return next_attempt_allowed_; }
std::chrono::steady_clock::time_point dbgBaseline() const { return baseline_; }
private:
std::chrono::milliseconds timeout_;
std::chrono::milliseconds max_backoff_;