Skip to main content

InputStreamStats Struct

Per-Run input-side telemetry: counts, drops, and timing averages. More...

Declaration

struct simaai::neat::InputStreamStats { ... }

Included Headers

#include <Run.h>

Public Member Attributes Index

std::uint64_tpush_count = 0

Total successful push() calls. More...

std::uint64_tpush_failures = 0

Pushes that failed (queue full, EOS, error). More...

std::uint64_tpull_count = 0

Total successful pull() calls (output side). More...

std::uint64_tpoll_count = 0

Total pull() calls (including timeouts). More...

std::uint64_tdropped_frames = 0

Frames dropped due to OverflowPolicy. More...

std::uint64_trenegotiations = 0

Times caps were re-negotiated mid-stream. More...

std::uint64_talloc_grows = 0

Times the buffer pool grew due to demand. More...

std::uint64_tgrowth_blocked = 0

Pool-grow attempts that hit a configured cap. More...

std::uint64_trenegotiation_blocked = ...

Renegotiation attempts that were rejected by downstream. More...

doubleavg_alloc_us = 0.0

Average buffer allocation time (microseconds). More...

doubleavg_map_us = 0.0

Average buffer map (lock for write) time. More...

doubleavg_copy_us = 0.0

Average input copy time (when copy_input=true). More...

doubleavg_push_us = 0.0

Average end-to-end push() call time. More...

doubleavg_pull_wait_us = 0.0

Average time pull() waited for output. More...

doubleavg_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

std::uint64_t simaai::neat::InputStreamStats::alloc_grows = 0

Times the buffer pool grew due to demand.

Definition at line 229 of file Run.h.

229 std::uint64_t alloc_grows = 0;

avg_alloc_us

double simaai::neat::InputStreamStats::avg_alloc_us = 0.0

Average buffer allocation time (microseconds).

Definition at line 233 of file Run.h.

233 double avg_alloc_us = 0.0;

avg_copy_us

double simaai::neat::InputStreamStats::avg_copy_us = 0.0

Average input copy time (when copy_input=true).

Definition at line 235 of file Run.h.

235 double avg_copy_us = 0.0;

avg_decode_us

double simaai::neat::InputStreamStats::avg_decode_us = 0.0

Average decode time (input-side decoders, e.g., H.264).

Definition at line 238 of file Run.h.

238 double avg_decode_us = 0.0;

avg_map_us

double simaai::neat::InputStreamStats::avg_map_us = 0.0

Average buffer map (lock for write) time.

Definition at line 234 of file Run.h.

234 double avg_map_us = 0.0;

avg_pull_wait_us

double simaai::neat::InputStreamStats::avg_pull_wait_us = 0.0

Average time pull() waited for output.

Definition at line 237 of file Run.h.

237 double avg_pull_wait_us = 0.0;

avg_push_us

double simaai::neat::InputStreamStats::avg_push_us = 0.0

Average end-to-end push() call time.

Definition at line 236 of file Run.h.

236 double avg_push_us = 0.0;

dropped_frames

std::uint64_t simaai::neat::InputStreamStats::dropped_frames = 0

Frames dropped due to OverflowPolicy.

Definition at line 227 of file Run.h.

227 std::uint64_t dropped_frames = 0;

growth_blocked

std::uint64_t simaai::neat::InputStreamStats::growth_blocked = 0

Pool-grow attempts that hit a configured cap.

Definition at line 230 of file Run.h.

230 std::uint64_t growth_blocked = 0;

poll_count

std::uint64_t simaai::neat::InputStreamStats::poll_count = 0

Total pull() calls (including timeouts).

Definition at line 226 of file Run.h.

226 std::uint64_t poll_count = 0;

pull_count

std::uint64_t simaai::neat::InputStreamStats::pull_count = 0

Total successful pull() calls (output side).

Definition at line 225 of file Run.h.

225 std::uint64_t pull_count = 0;

push_count

std::uint64_t simaai::neat::InputStreamStats::push_count = 0

Total successful push() calls.

Definition at line 223 of file Run.h.

223 std::uint64_t push_count = 0;

push_failures

std::uint64_t simaai::neat::InputStreamStats::push_failures = 0

Pushes that failed (queue full, EOS, error).

Definition at line 224 of file Run.h.

224 std::uint64_t push_failures = 0;

renegotiation_blocked

std::uint64_t simaai::neat::InputStreamStats::renegotiation_blocked

Renegotiation attempts that were rejected by downstream.

Initialiser
= 0

Definition at line 231 of file Run.h.

231 std::uint64_t renegotiation_blocked =

renegotiations

std::uint64_t simaai::neat::InputStreamStats::renegotiations = 0

Times caps were re-negotiated mid-stream.

Definition at line 228 of file Run.h.

228 std::uint64_t renegotiations = 0;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.