![]() |
Contur 2
Educational OS kernel simulator
|
Structured trace event record. More...
#include <trace_event.h>
Public Attributes | |
| Tick | timestamp = 0 |
| Simulation timestamp when the event was emitted. | |
| std::string | subsystem |
| Subsystem that emitted the event. | |
| std::string | operation |
| Operation name within the subsystem. | |
| std::string | details |
| Optional human-readable details payload. | |
| TraceLevel | level = TraceLevel::Info |
| Event severity level. | |
| std::uint32_t | depth = 0 |
| Current tracer nesting depth. | |
| std::size_t | workerId = 0 |
| Worker index used by concurrent dispatcher runtime. | |
| std::uint64_t | sequence = 0 |
| Monotonic sequence value used for canonical ordering. | |
| std::uint64_t | epoch = 0 |
| Runtime epoch identifier used for deterministic replay checks. | |
Structured trace event record.
Used by both the tracing subsystem (Tracer + sinks) and the dispatcher runtime metadata emitted by DispatcherPool.
Definition at line 20 of file trace_event.h.
| std::uint32_t contur::TraceEvent::depth = 0 |
Current tracer nesting depth.
Definition at line 38 of file trace_event.h.
| std::string contur::TraceEvent::details |
Optional human-readable details payload.
Definition at line 32 of file trace_event.h.
Referenced by formatTraceEventLine().
| std::uint64_t contur::TraceEvent::epoch = 0 |
Runtime epoch identifier used for deterministic replay checks.
Definition at line 47 of file trace_event.h.
| TraceLevel contur::TraceEvent::level = TraceLevel::Info |
Event severity level.
Definition at line 35 of file trace_event.h.
Referenced by formatTraceEventLine().
| std::string contur::TraceEvent::operation |
Operation name within the subsystem.
Definition at line 29 of file trace_event.h.
| std::uint64_t contur::TraceEvent::sequence = 0 |
Monotonic sequence value used for canonical ordering.
Definition at line 44 of file trace_event.h.
| std::string contur::TraceEvent::subsystem |
Subsystem that emitted the event.
Definition at line 26 of file trace_event.h.
| Tick contur::TraceEvent::timestamp = 0 |
Simulation timestamp when the event was emitted.
Definition at line 23 of file trace_event.h.
Referenced by formatTraceEventLine(), and contur::makeTraceEvent().
| std::size_t contur::TraceEvent::workerId = 0 |
Worker index used by concurrent dispatcher runtime.
Definition at line 41 of file trace_event.h.