Skip to main content

RunStats Struct

Per-Run end-to-end statistics: counts and latency. More...

Declaration

struct simaai::neat::RunStats { ... }

Included Headers

#include <Run.h>

Public Member Attributes Index

std::uint64_tinputs_enqueued = 0

Inputs that were accepted into the input queue. More...

std::uint64_tinputs_dropped = 0

Inputs rejected by OverflowPolicy. More...

std::uint64_tinputs_pushed = 0

Inputs successfully pushed into the pipeline. More...

std::uint64_toutputs_ready = ...

Outputs the pipeline produced (may exceed pulls if backlogged). More...

std::uint64_toutputs_pulled = 0

Outputs the application pulled. More...

std::uint64_toutputs_dropped = ...

Outputs dropped before the application could pull (output-side overflow). More...

doubleavg_latency_ms = 0.0

Average push-to-pull latency. More...

doublemin_latency_ms = 0.0

Minimum observed latency. More...

doublemax_latency_ms = 0.0

Maximum observed latency. More...

Description

Per-Run end-to-end statistics: counts and latency.

Returned by Run::stats(). The headline metric is avg_latency_ms — wall-clock time from push() to pull() for a frame.

Definition at line 298 of file Run.h.

Public Member Attributes

avg_latency_ms

double simaai::neat::RunStats::avg_latency_ms = 0.0

Average push-to-pull latency.

Definition at line 307 of file Run.h.

307 double avg_latency_ms = 0.0;

inputs_dropped

std::uint64_t simaai::neat::RunStats::inputs_dropped = 0

Inputs rejected by OverflowPolicy.

Definition at line 300 of file Run.h.

300 std::uint64_t inputs_dropped = 0;

inputs_enqueued

std::uint64_t simaai::neat::RunStats::inputs_enqueued = 0

Inputs that were accepted into the input queue.

Definition at line 299 of file Run.h.

299 std::uint64_t inputs_enqueued = 0;

inputs_pushed

std::uint64_t simaai::neat::RunStats::inputs_pushed = 0

Inputs successfully pushed into the pipeline.

Definition at line 301 of file Run.h.

301 std::uint64_t inputs_pushed = 0;

max_latency_ms

double simaai::neat::RunStats::max_latency_ms = 0.0

Maximum observed latency.

Definition at line 309 of file Run.h.

309 double max_latency_ms = 0.0;

min_latency_ms

double simaai::neat::RunStats::min_latency_ms = 0.0

Minimum observed latency.

Definition at line 308 of file Run.h.

308 double min_latency_ms = 0.0;

outputs_dropped

std::uint64_t simaai::neat::RunStats::outputs_dropped

Outputs dropped before the application could pull (output-side overflow).

Initialiser
= 0

Definition at line 305 of file Run.h.

305 std::uint64_t outputs_dropped =

outputs_pulled

std::uint64_t simaai::neat::RunStats::outputs_pulled = 0

Outputs the application pulled.

Definition at line 304 of file Run.h.

304 std::uint64_t outputs_pulled = 0;

outputs_ready

std::uint64_t simaai::neat::RunStats::outputs_ready

Outputs the pipeline produced (may exceed pulls if backlogged).

Initialiser
= 0

Definition at line 302 of file Run.h.

302 std::uint64_t outputs_ready =

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.