9#ifndef NEXUS_OS_DIAGNOSTIC_H
10#define NEXUS_OS_DIAGNOSTIC_H
nx_result_t nx_diagnostic_ring_write(nx_diagnostic_ring_t *ring, const nx_diagnostic_event_t *event)
Copy one event under a bounded saved interrupt mask.
nx_result_t nx_diagnostic_ring_init(nx_diagnostic_ring_t *ring, nx_diagnostic_event_t *events, size_t capacity)
Initialize unpublished ring and caller-owned entries.
nx_result_t nx_diagnostic_ring_read(nx_diagnostic_ring_t *ring, nx_diagnostic_event_t *event)
Consume one event from caller-owned ring.
nx_result_t nx_diagnostic_ring_dropped(const nx_diagnostic_ring_t *ring, uint32_t *dropped)
Snapshot the saturating overflow count.
Small vendor-independent result vocabulary.
nx_result_t
Operation result; success at submission means admission only.
One opaque diagnostic record; interpretation belongs to its owner.
Explicit ring state, with no default pool, worker or transport.
nx_diagnostic_event_t * events