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 272 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 279 of file Run.h.

279 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 283 of file Run.h.

283 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 285 of file Run.h.

285 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 288 of file Run.h.

288 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 284 of file Run.h.

284 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 287 of file Run.h.

287 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 286 of file Run.h.

286 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 277 of file Run.h.

277 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 280 of file Run.h.

280 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 276 of file Run.h.

276 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 275 of file Run.h.

275 std::uint64_t pull_count = 0;

push_count

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

Total successful push() calls.

Definition at line 273 of file Run.h.

273 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 274 of file Run.h.

274 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 281 of file Run.h.

281 std::uint64_t renegotiation_blocked =

renegotiations

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

Times caps were re-negotiated mid-stream.

Definition at line 278 of file Run.h.

278 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.