Skip to content

Class ProcessConfig

ClassList > ProcessConfig

Data structure to configure one simulation process.

  • #include <benchmark_yaml.h>

Public Attributes

Type Name
std::vector< std::string > m_args
Arguments of simulation process.
double m_clock_rate
the rate of inter-simulator cycle convert.
std::string m_command
Command of simulation process.
std::string m_log_file
Path of logging name.
std::string m_pre_copy
Files copy to sub-directory of simulator before executing.
bool m_to_stdout
True means redirect output of this process to standard output.

Public Functions

Type Name
ProcessConfig (const std::string & __cmd, const std::vector< std::string > & __args, const std::string & __log, bool __to_stdout, double __clock_rate, const std::string & __pre_copy)
Construct ProcessConfig .

Public Attributes Documentation

variable m_args

std::vector<std::string> ProcessConfig::m_args;

variable m_clock_rate

double ProcessConfig::m_clock_rate;

variable m_command

std::string ProcessConfig::m_command;

variable m_log_file

std::string ProcessConfig::m_log_file;

variable m_pre_copy

std::string ProcessConfig::m_pre_copy;

variable m_to_stdout

bool ProcessConfig::m_to_stdout;

Public Functions Documentation

function ProcessConfig

Construct ProcessConfig .

inline ProcessConfig::ProcessConfig (
    const std::string & __cmd,
    const std::vector< std::string > & __args,
    const std::string & __log,
    bool __to_stdout,
    double __clock_rate,
    const std::string & __pre_copy
) 

Parameters:

  • __cmd Command of simulation process.
  • __args Arguments of simulation process.
  • __log Path of logging name.
  • __to_stdout True means redirect output of this process to standard output.
  • __clock_rate the rate of inter-simulator cycle convert.
  • __pre_copy Files copy to sub-directory of simulator before executing.

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