|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning bounded snapshot; copy only between frames, serialize after releasing the recorder lock. More...
#include <diagnostics.hpp>
Public Attributes | |
| std::uint32_t | schemaVersion {1} |
| Supported metadata schema; unrelated to PORTALS-TRACE. | |
| DiagnosticOptions | options {} |
| Active ring capacity. | |
| DiagnosticState | state {} |
| State at the snapshot boundary. | |
| std::uint64_t | period {} |
| Current or last recording interval. | |
| std::uint64_t | periodBegin {} |
| First possible sequence in this interval. | |
| std::uint64_t | periodEnd {} |
| Last sequence when disabled; zero while recording. | |
| std::uint64_t | droppedOverflow {} |
| Overwritten records in this interval, saturating. | |
| std::uint64_t | droppedContention {} |
| Failed nonblocking write attempts in this interval, saturating. | |
| bool | countersSaturated {} |
| A loss counter reached its representable limit. | |
| bool | incomplete {} |
| Conservative: losses, open chains, or recording boundaries may hide work. | |
| std::vector< DiagnosticRecord > | records = std::vector<DiagnosticRecord>(0) |
| Oldest-to-newest bounded records. | |
Owning bounded snapshot; copy only between frames, serialize after releasing the recorder lock.