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

Public Member Attributes​

duration_ms​

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

Timed measurement window.

Definition at line 419 of file Run.h.

419 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 424 of file Run.h.

include_power​

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

Include power telemetry when enabled on the Run.

Definition at line 425 of file Run.h.

425 bool include_power = true;

input​

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

Definition at line 431 of file Run.h.

431 std::string input;

logical_batch_size​

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

Definition at line 433 of file Run.h.

model​

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

Definition at line 430 of file Run.h.

430 std::string model;

placement​

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

Definition at line 432 of file Run.h.

432 std::string placement;

timeout_ms​

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

Per-output pull timeout.

Definition at line 421 of file Run.h.

421 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 429 of file Run.h.

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

warmup_ms​

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

Warmup window excluded from latency/profiler results.

Definition at line 420 of file Run.h.

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