Skip to main content

RunAutoExportOptions Struct

Optional build-time Run JSON export. More...

Declaration

struct simaai::neat::RunAutoExportOptions { ... }

Included Headers

#include <Run.h>

Public Member Attributes Index

std::stringpath

Empty disables build-time export. More...

std::stringlabel

Optional label; empty uses the exporter default. More...

boolinclude_metrics = true
boolinclude_power = true
intindent = 2

Description

Optional build-time Run JSON export.

Set path before calling Graph::build(...) to write a topology snapshot as soon as the Run is built. This is useful for CI artifacts and graph visualization even if the application has not pushed samples yet.

For final throughput/latency/power numbers, call save_run_json(run, ...) after the run has executed/drained. Build-time export is an initial snapshot.

Definition at line 138 of file Run.h.

Public Member Attributes

include_metrics

bool simaai::neat::RunAutoExportOptions::include_metrics = true

Definition at line 141 of file Run.h.

141 bool include_metrics = true;

include_power

bool simaai::neat::RunAutoExportOptions::include_power = true

Definition at line 142 of file Run.h.

142 bool include_power = true;

indent

int simaai::neat::RunAutoExportOptions::indent = 2

Definition at line 143 of file Run.h.

143 int indent = 2;

label

std::string simaai::neat::RunAutoExportOptions::label

Optional label; empty uses the exporter default.

Definition at line 140 of file Run.h.

140 std::string label;

path

std::string simaai::neat::RunAutoExportOptions::path

Empty disables build-time export.

Definition at line 139 of file Run.h.

139 std::string path;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.