Skip to main content

MeasureOptions Struct

Options for framework-owned runtime measurement. More...

Declaration

struct simaai::neat::MeasureOptions { ... }

Included Headers

#include <Run.h>

Public Member Attributes Index

intduration_ms = 10000

Timed measurement window. More...

intwarmup_ms = 1000

Warmup window excluded from latency/profiler results. More...

inttimeout_ms = 5000

Per-output pull timeout. More...

boolinclude_plugin_latency = true

Capture per-plugin/kernel latency through the NEAT profiler. More...

boolinclude_power = true

Include power telemetry when enabled on the Run. More...

std::stringtitle = "NEAT measurement"

Optional report metadata. More...

std::stringmodel
std::stringinput
std::stringplacement
intlogical_batch_size = 1

Description

Options for framework-owned runtime measurement.

The defaults collect the measurements most applications need without asking examples to reimplement timers, percentile math, profiler aggregation, or terminal formatting.

Definition at line 368 of file Run.h.

Public Member Attributes

duration_ms

int simaai::neat::MeasureOptions::duration_ms = 10000

Timed measurement window.

Definition at line 369 of file Run.h.

369 int duration_ms = 10000;

include_plugin_latency

bool simaai::neat::MeasureOptions::include_plugin_latency = true

Capture per-plugin/kernel latency through the NEAT profiler.

This is precise, but can be disabled for absolute maximum throughput sweeps.

Definition at line 374 of file Run.h.

include_power

bool simaai::neat::MeasureOptions::include_power = true

Include power telemetry when enabled on the Run.

Definition at line 375 of file Run.h.

375 bool include_power = true;

input

std::string simaai::neat::MeasureOptions::input

Definition at line 381 of file Run.h.

381 std::string input;

logical_batch_size

int simaai::neat::MeasureOptions::logical_batch_size = 1

Definition at line 383 of file Run.h.

model

std::string simaai::neat::MeasureOptions::model

Definition at line 380 of file Run.h.

380 std::string model;

placement

std::string simaai::neat::MeasureOptions::placement

Definition at line 382 of file Run.h.

382 std::string placement;

timeout_ms

int simaai::neat::MeasureOptions::timeout_ms = 5000

Per-output pull timeout.

Definition at line 371 of file Run.h.

371 int timeout_ms = 5000;

title

std::string simaai::neat::MeasureOptions::title = "NEAT measurement"

Optional report metadata.

Model-owned wrappers/examples can fill these in so the standardized report is informative without custom formatting code.

Definition at line 379 of file Run.h.

379 std::string title = "NEAT measurement";

warmup_ms

int simaai::neat::MeasureOptions::warmup_ms = 1000

Warmup window excluded from latency/profiler results.

Definition at line 370 of file Run.h.

370 int warmup_ms = 1000;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.