Skip to main content

GraphRunPullOptions Struct

Tuning knobs for GraphRun::pull_until() / PullSession::run(). More...

Declaration

struct simaai::neat::graph::GraphRunPullOptions { ... }

Included Headers

#include <GraphRun.h>

Public Member Attributes Index

intper_stream_target = ...

Stop when each stream has produced this many samples. 0 = no target. More...

intstall_ms = 0

Stop after this many ms with no progress. 0 disables the stall guard. More...

inttimeout_ms = 50

Per-poll timeout (ms). More...

intmax_runtime_ms = -1

Hard wall-clock cap (ms). -1 = no cap. More...

std::vector< std::string >stream_ids

Restrict tracking/expectation to these streams (empty = all). More...

Description

Tuning knobs for GraphRun::pull_until() / PullSession::run().

Controls when a pull loop stops: hit the per-stream sample target, hit the stall deadline (no progress for stall_ms), or hit max_runtime_ms.

Definition at line 147 of file GraphRun.h.

Public Member Attributes

max_runtime_ms

int simaai::neat::graph::GraphRunPullOptions::max_runtime_ms = -1

Hard wall-clock cap (ms). -1 = no cap.

Definition at line 152 of file GraphRun.h.

152 int max_runtime_ms = -1;

per_stream_target

int simaai::neat::graph::GraphRunPullOptions::per_stream_target

Stop when each stream has produced this many samples. 0 = no target.

Initialiser
= 0

Definition at line 148 of file GraphRun.h.

stall_ms

int simaai::neat::graph::GraphRunPullOptions::stall_ms = 0

Stop after this many ms with no progress. 0 disables the stall guard.

Definition at line 150 of file GraphRun.h.

150 int stall_ms = 0;

stream_ids

std::vector<std::string> simaai::neat::graph::GraphRunPullOptions::stream_ids

Restrict tracking/expectation to these streams (empty = all).

Definition at line 154 of file GraphRun.h.

timeout_ms

int simaai::neat::graph::GraphRunPullOptions::timeout_ms = 50

Per-poll timeout (ms).

Definition at line 151 of file GraphRun.h.

151 int timeout_ms = 50;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.