Struct DispatchStats

Struct Documentation

struct DispatchStats

Best-effort cumulative queue observations for one dispatcher, not an admission or completion barrier.

Public Members

::CE::Diagnostics::DomainId domain = 0

Originating dispatcher identity; zero means unavailable.

std::uint64_t accepted = 0

Requests successfully admitted since creation.

std::uint64_t completed = 0

Callbacks whose detached execution batch has completed.

std::uint64_t cancelled = 0

Accepted requests destroyed without invocation during cancellation.

std::uint64_t failures = 0

Invoked callbacks that completed their futures with an exception.

std::uint64_t pending = 0

Requests still in the shared queue at the snapshot boundary.

std::uint64_t running = 0

Requests in a detached batch, including callbacks not yet entered.

std::uint64_t peak_pending = 0

Greatest observed shared-queue length.