Skip to main content

RunExportOptions Struct

Options for exporting a built Run as graph JSON. More...

Declaration

struct simaai::neat::RunExportOptions { ... }

Included Headers

#include <RunExport.h>

Public Member Attributes Index

std::stringlabel

Human-readable graph/run label in the JSON. Empty means "run". More...

boolinclude_metrics = true

Include runtime counters, latency, power, and per-segment pipeline strings. More...

boolinclude_power = true

Include board power summary when enabled on the Run. More...

intindent = 2

Pretty-print indentation. 0 emits compact JSON. More...

std::vector< std::pair< std::string, std::string > >metadata

Free-form string metadata copied to the top-level "metadata" object. More...

Description

Options for exporting a built Run as graph JSON.

The export is intentionally a snapshot: it does not stop or mutate the Run. Call run.close() first if you want final throughput/latency/power numbers after all outputs have drained.

Definition at line 23 of file RunExport.h.

Public Member Attributes

include_metrics

bool simaai::neat::RunExportOptions::include_metrics = true

Include runtime counters, latency, power, and per-segment pipeline strings.

Definition at line 27 of file RunExport.h.

27 bool include_metrics = true;

include_power

bool simaai::neat::RunExportOptions::include_power = true

Include board power summary when enabled on the Run.

Definition at line 29 of file RunExport.h.

29 bool include_power = true;

indent

int simaai::neat::RunExportOptions::indent = 2

Pretty-print indentation. 0 emits compact JSON.

Definition at line 31 of file RunExport.h.

31 int indent = 2;

label

std::string simaai::neat::RunExportOptions::label

Human-readable graph/run label in the JSON. Empty means "run".

Definition at line 25 of file RunExport.h.

25 std::string label;

metadata

std::vector<std::pair<std::string, std::string> > simaai::neat::RunExportOptions::metadata

Free-form string metadata copied to the top-level "metadata" object.

Definition at line 33 of file RunExport.h.

33 std::vector<std::pair<std::string, std::string>> metadata;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.