Run.h File
Run — the live pipeline returned by Session::build, plus runtime options and diagnostics. More...
Included Headers
Namespaces Index
| namespace | cv |
| namespace | simaai |
| namespace | neat |
| namespace | pipeline_internal |
Classes Index
| struct | RunAdvancedOptions |
|
Advanced runtime tuning knobs (most users never set these). More... | |
| struct | RunOptions |
|
Per-Run runtime options. More... | |
| struct | InputDropInfo |
|
Diagnostic record for a dropped input frame. More... | |
| struct | InputStreamStats |
|
Per-Run input-side telemetry: counts, drops, and timing averages. More... | |
| struct | RunStats |
|
Per-Run end-to-end statistics: counts and latency. More... | |
| struct | RunMeasurementSummary |
|
One-call runtime measurement summary. More... | |
| struct | RunStageStats |
|
Per-stage timing telemetry — how long each stage takes per sample. More... | |
| struct | RunElementTimingStats |
|
Per-element timing — finer-grained than per-stage; one row per GStreamer element. More... | |
| struct | RunElementFlowStats |
|
Per-element data-flow telemetry — buffer and byte counts, plus caps changes. More... | |
| struct | RunElementPadTimingStats |
|
Per-pad timing — finest-grained telemetry, one row per (element, pad). More... | |
| struct | RunDiagSnapshot |
|
Aggregate diagnostic snapshot: stages, boundaries, per-element, per-pad. More... | |
| struct | MeasureOptions |
|
Options for framework-owned runtime measurement. More... | |
| struct | MeasureLatencyStats |
|
Percentile summary for a measured latency series. More... | |
| struct | MeasurePluginLatency |
|
Aggregated per-plugin/kernel timing captured during a measurement window. More... | |
| struct | MeasureReport |
|
Framework-owned report returned by MeasureScope::stop(). More... | |
| class | MeasureScope |
|
Observation scope for measuring an application-owned push/pull interval. More... | |
| struct | RunReportOptions |
|
Toggles for what Run::report() includes in its formatted text output. More... | |
| class | Run |
|
Live pipeline handle: push inputs in, pull outputs out. More... | |
Description
Run — the live pipeline returned by Session::build, plus runtime options and diagnostics.
Run is what a Session becomes when built. It owns the running GStreamer pipeline, its internal threads (typically 5–15: one per element thread boundary, plus dispatcher workers, plus a bus watcher), and its bounded queues. Application code interacts with a Run by push()-ing inputs and pull()-ing outputs — or run() for a synchronous shortcut. A Run can operate in Async mode (continuous pipeline, push/pull at user pace) or Sync mode (one frame in, one result out, repeat).
This header also defines:
- OverflowPolicy — how push() behaves when the input queue is full.
- RunPreset — preset bundles for common workloads (realtime, balanced, reliable).
- RunOptions — runtime knobs (queue depth, overflow policy, output memory, metrics).
- RunStats / InputStreamStats / RunDiagSnapshot — telemetry surfaces.
- See Also
Session::build for how a Run is constructed
- See Also
SessionOptions for build-time options (Run takes runtime options here)
- See Also
"Runs: the live pipeline (and the timing decision)" (§0.13 of the design deep dive)
File Listing
The file content with the documentation metadata removed is:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.