InputStreamStats Struct
Per-Run input-side telemetry: counts, drops, and timing averages. More...
Declaration
Included Headers
Public Member Attributes Index
| std::uint64_t | push_count = 0 |
|
Total successful push() calls. More... | |
| std::uint64_t | push_failures = 0 |
|
Pushes that failed (queue full, EOS, error). More... | |
| std::uint64_t | pull_count = 0 |
|
Total successful pull() calls (output side). More... | |
| std::uint64_t | poll_count = 0 |
|
Total pull() calls (including timeouts). More... | |
| std::uint64_t | dropped_frames = 0 |
|
Frames dropped due to OverflowPolicy. More... | |
| std::uint64_t | renegotiations = 0 |
|
Times caps were re-negotiated mid-stream. More... | |
| std::uint64_t | alloc_grows = 0 |
|
Times the buffer pool grew due to demand. More... | |
| std::uint64_t | growth_blocked = 0 |
|
Pool-grow attempts that hit a configured cap. More... | |
| std::uint64_t | renegotiation_blocked = ... |
|
Renegotiation attempts that were rejected by downstream. More... | |
| double | avg_alloc_us = 0.0 |
|
Average buffer allocation time (microseconds). More... | |
| double | avg_map_us = 0.0 |
|
Average buffer map (lock for write) time. More... | |
| double | avg_copy_us = 0.0 |
|
Average input copy time (when copy_input=true). More... | |
| double | avg_push_us = 0.0 |
|
Average end-to-end push() call time. More... | |
| double | avg_pull_wait_us = 0.0 |
|
Average time pull() waited for output. More... | |
| double | avg_decode_us = 0.0 |
|
Average decode time (input-side decoders, e.g., H.264). More... | |
Description
Per-Run input-side telemetry: counts, drops, and timing averages.
Returned by Run::input_stats(). Useful for monitoring whether the application is keeping up with the input source and where time is being spent on the push side.
Definition at line 222 of file Run.h.
Public Member Attributes
alloc_grows
|
Times the buffer pool grew due to demand.
Definition at line 229 of file Run.h.
avg_alloc_us
|
Average buffer allocation time (microseconds).
Definition at line 233 of file Run.h.
avg_copy_us
|
Average input copy time (when copy_input=true).
Definition at line 235 of file Run.h.
avg_decode_us
|
Average decode time (input-side decoders, e.g., H.264).
Definition at line 238 of file Run.h.
avg_map_us
|
Average buffer map (lock for write) time.
Definition at line 234 of file Run.h.
avg_pull_wait_us
|
Average time pull() waited for output.
Definition at line 237 of file Run.h.
avg_push_us
|
Average end-to-end push() call time.
Definition at line 236 of file Run.h.
dropped_frames
|
Frames dropped due to OverflowPolicy.
Definition at line 227 of file Run.h.
growth_blocked
|
Pool-grow attempts that hit a configured cap.
Definition at line 230 of file Run.h.
poll_count
|
Total pull() calls (including timeouts).
Definition at line 226 of file Run.h.
pull_count
|
Total successful pull() calls (output side).
Definition at line 225 of file Run.h.
push_count
|
Total successful push() calls.
Definition at line 223 of file Run.h.
push_failures
|
Pushes that failed (queue full, EOS, error).
Definition at line 224 of file Run.h.
renegotiation_blocked
|
Renegotiation attempts that were rejected by downstream.
- Initialiser
-
= 0
Definition at line 231 of file Run.h.
renegotiations
|
Times caps were re-negotiated mid-stream.
Definition at line 228 of file Run.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.