Перейти до основного вмісту

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
boolinclude_node_metrics = true

Include node-level latency rows. More...

boolinclude_plugin_metrics = true

Include plugin/kernel latency rows when available. More...

boolinclude_empty_node_metrics = true

Keep attributed node rows even before samples arrive. More...

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

Public Member Attributes​

include_empty_node_metrics​

bool simaai::neat::RunAutoExportOptions::include_empty_node_metrics = true

Keep attributed node rows even before samples arrive.

Definition at line 135 of file Run.h.

include_metrics​

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

Definition at line 131 of file Run.h.

include_node_metrics​

bool simaai::neat::RunAutoExportOptions::include_node_metrics = true

Include node-level latency rows.

Definition at line 133 of file Run.h.

include_plugin_metrics​

bool simaai::neat::RunAutoExportOptions::include_plugin_metrics = true

Include plugin/kernel latency rows when available.

Definition at line 134 of file Run.h.

include_power​

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

Definition at line 132 of file Run.h.

indent​

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

Definition at line 136 of file Run.h.

label​

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

Optional label; empty uses the exporter default.

Definition at line 130 of file Run.h.

path​

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

Empty disables build-time export.

Definition at line 129 of file Run.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.