Skip to content

Class BenchmarkConfig

ClassList > BenchmarkConfig

Benchmark configuration structure.

  • #include <benchmark_yaml.h>

Public Attributes

Type Name
std::string m_benchmark_root
Environments.
std::vector< ProcessConfig > m_phase1_proc_cfg_list
List of configuration structures of phase 1.
std::vector< ProcessConfig > m_phase2_proc_cfg_list
List of configuration structures of phase 2.
std::string m_simulator_root

Public Functions

Type Name
BenchmarkConfig (const std::string & file_name)
Parse YAML configuration file to get benchmark configuration.
void yaml_parse (const YAML::Node & config)
Parse YAML configuration tree.

Public Attributes Documentation

variable m_benchmark_root

std::string BenchmarkConfig::m_benchmark_root;

variable m_phase1_proc_cfg_list

std::vector<ProcessConfig> BenchmarkConfig::m_phase1_proc_cfg_list;

variable m_phase2_proc_cfg_list

std::vector<ProcessConfig> BenchmarkConfig::m_phase2_proc_cfg_list;

variable m_simulator_root

std::string BenchmarkConfig::m_simulator_root;

Public Functions Documentation

function BenchmarkConfig

Parse YAML configuration file to get benchmark configuration.

inline BenchmarkConfig::BenchmarkConfig (
    const std::string & file_name
) 

Parameters:

  • file_name Path of YAML configuration file.

function yaml_parse

Parse YAML configuration tree.

inline void BenchmarkConfig::yaml_parse (
    const YAML::Node & config
) 

Parameters:

  • config Top node of YAML Tree.

The documentation for this class was generated from the following file /data_sda/junwan02/legosim/Chiplet_Heterogeneous_newVersion/interchiplet/includes/benchmark_yaml.h