Struct GroupStatus
Defined in File worker-pool.h
Struct Documentation
-
struct GroupStatus
Cumulative group observations and current scheduler counts; not a completion barrier.
Public Members
-
CE::Diagnostics::DomainId domain = 0
Process-local identity of this logical group.
-
CE::Diagnostics::DomainId pool = 0
Process-local identity of its physical pool.
-
std::uint64_t accepted = 0
Jobs successfully admitted since group creation.
-
std::uint64_t completed = 0
Accepted jobs settled after execution/policy failure and capture release.
-
std::size_t pending = 0
Jobs waiting in this group queue.
-
std::size_t running = 0
Jobs selected and not yet fully settled.
-
std::uint64_t policy_failures = 0
Native policy failures observed at job entry, including reported degradation.
-
std::uint64_t callback_failures = 0
Invoked callbacks that threw into their result futures.
-
std::uint64_t peak_pending = 0
Greatest observed group queue length.
-
std::uint64_t queue_nanoseconds = 0
Cumulative time from enqueue to selection, in nanoseconds.
-
bool accepting = false
Whether this group accepts work; pool closure can independently reject.
-
std::optional<unsigned int> last_cpu
Last verified singleton native CPU mask; empty for unbound/multiple CPUs, not proof of residency.
-
CE::Diagnostics::DomainId domain = 0