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 248 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 257 of file Run.h.

257 double avg_latency_ms = 0.0;

inputs_dropped

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

Inputs rejected by OverflowPolicy.

Definition at line 250 of file Run.h.

250 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 249 of file Run.h.

249 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 251 of file Run.h.

251 std::uint64_t inputs_pushed = 0;

max_latency_ms

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

Maximum observed latency.

Definition at line 259 of file Run.h.

259 double max_latency_ms = 0.0;

min_latency_ms

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

Minimum observed latency.

Definition at line 258 of file Run.h.

258 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 255 of file Run.h.

255 std::uint64_t outputs_dropped =

outputs_pulled

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

Outputs the application pulled.

Definition at line 254 of file Run.h.

254 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 252 of file Run.h.

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