[idd] capture: version frame graph changes

This commit is contained in:
Geoffrey McRae
2026-08-13 22:47:42 +10:00
parent 70bc66b3f1
commit 1dcab65ab9
7 changed files with 243 additions and 79 deletions

View File

@@ -71,10 +71,11 @@ private:
struct FaultRec
{
BackendId id = 0;
uint32_t epoch = 0;
FrameCfg cfg;
CfgResult result = CfgResult::ACCEPTED;
BackendId id = 0;
uint32_t epoch = 0;
FrameCfg cfg;
CfgResult result = CfgResult::ACCEPTED;
uint64_t retryAt = 0;
};
struct Failure
@@ -125,6 +126,9 @@ private:
CfgResult Faulted(BackendId id, uint32_t epoch,
const FrameCfg& cfg) const;
bool Active(uint64_t generation, BackendId id, uint32_t epoch,
const FrameCfg& cfg) const;
void Retry(uint64_t now);
bool TakeFailure(BackendId& id, uint32_t& epoch);
void Rebind(BackendId id, uint32_t epoch);