State Struct
Per-stream internal state: queue, worker thread, and live counters. More...
Declaration
Public Member Attributes Index
| std::mutex | mu |
|
Guards the per-stream state. More... | |
| std::condition_variable | cv |
|
Condition variable used to signal queue state changes. More... | |
| std::deque< simaai::neat::Sample > | queue |
|
Pending samples awaiting paced release. More... | |
| std::thread | worker |
|
Per-stream pacing worker thread. More... | |
| bool | stop = false |
|
Worker stop flag. More... | |
| int64_t | next_release_ms = -1 |
|
Wall-clock deadline (ms) for the next release. More... | |
| int64_t | enqueued = 0 |
|
Total samples enqueued. More... | |
| int64_t | sent = 0 |
|
Total samples successfully sent downstream. More... | |
| int64_t | dropped = 0 |
|
Total samples dropped due to overflow. More... | |
| int64_t | send_fail = 0 |
|
Total send attempts that failed. More... | |
| int64_t | max_queue_depth = 0 |
|
High-watermark of queue depth. More... | |
Description
Per-stream internal state: queue, worker thread, and live counters.
Definition at line 200 of file StrictSync.h.
Public Member Attributes
cv
|
Condition variable used to signal queue state changes.
Definition at line 202 of file StrictSync.h.
dropped
|
Total samples dropped due to overflow.
Definition at line 210 of file StrictSync.h.
enqueued
|
max_queue_depth
|
High-watermark of queue depth.
Definition at line 212 of file StrictSync.h.
mu
| mutable |
Guards the per-stream state.
Definition at line 201 of file StrictSync.h.
next_release_ms
|
Wall-clock deadline (ms) for the next release.
Definition at line 207 of file StrictSync.h.
queue
|
Pending samples awaiting paced release.
Definition at line 203 of file StrictSync.h.
send_fail
|
Total send attempts that failed.
Definition at line 211 of file StrictSync.h.
sent
|
Total samples successfully sent downstream.
Definition at line 209 of file StrictSync.h.
stop
|
worker
|
Per-stream pacing worker thread.
Definition at line 204 of file StrictSync.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.