Skip to content

Class CmdLineOptions

ClassList > CmdLineOptions

Options from command line.

  • #include <cmdline_options.h>

Public Attributes

Type Name
std::string m_bench
Path of benchmark configuration yaml.
std::string m_cwd
New working directory.
bool m_debug
Print debug information.
double m_err_rate_threshold
Error rate threshold, used to quit iteration.
long m_timeout_threshold
Timeout threshold, in term of round.

Public Functions

Type Name
CmdLineOptions ()
Constructor.
int parse (int argc, const char * argv)
Read options from command line.

Public Attributes Documentation

variable m_bench

std::string CmdLineOptions::m_bench;

variable m_cwd

std::string CmdLineOptions::m_cwd;

variable m_debug

bool CmdLineOptions::m_debug;

variable m_err_rate_threshold

double CmdLineOptions::m_err_rate_threshold;

variable m_timeout_threshold

long CmdLineOptions::m_timeout_threshold;

Public Functions Documentation

function CmdLineOptions

inline CmdLineOptions::CmdLineOptions () 

function parse

Read options from command line.

inline int CmdLineOptions::parse (
    int argc,
    const char * argv
) 

Parameters:

  • argc Number of argument.
  • argv String of argument.

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