HEBench
ProgramConfig Struct Reference

Public Member Functions

void initializeConfig (const hebench::ArgsParser &parser)
 
void showBenchmarkDefaults (std::ostream &os)
 
void showConfig (std::ostream &os) const
 
void initializeConfig (const hebench::ArgsParser &parser)
 
void showConfig (std::ostream &os) const
 

Static Public Member Functions

static std::ostream & showVersion (std::ostream &os)
 
static void showVersion (std::ostream &os)
 
static std::string getTimeUnitName (char time_unit, const std::string &default_name="(default)")
 

Public Attributes

std::filesystem::path backend_lib_path
 
std::filesystem::path config_file
 
bool b_dump_config
 
bool b_force_config
 
bool b_validate_results
 
bool b_single_path_report
 
std::uint64_t random_seed
 
std::size_t report_delay_ms
 
std::filesystem::path report_root_path
 
bool b_show_run_overview
 
bool b_compile_reports
 
std::filesystem::path input_file
 
bool b_show_overview
 
bool b_silent
 
char time_unit
 
char time_unit_stats
 
char time_unit_overview
 
char time_unit_summary
 

Static Public Attributes

static constexpr const char * DefaultConfigFile = ""
 
static constexpr std::uint64_t DefaultMinTestTime = 0
 
static constexpr std::uint64_t DefaultSampleSize = 0
 
static constexpr std::size_t DefaultReportDelay = 1000
 
static constexpr const char * DefaultRootPath = "."
 
static constexpr const char * TimeUnit = "--time_unit"
 
static constexpr const char * TimeUnitStats = "--time_unit_stats"
 
static constexpr const char * TimeUnitOverview = "--time_unit_overview"
 
static constexpr const char * TimeUnitSummary = "--time_unit_summary"
 
static constexpr const char * ShowOverview = "--show_overview"
 
static constexpr const char * SilentRun = "--silent_run"
 
static constexpr bool DefaultShowOverView = true
 

Detailed Description

Definition at line 38 of file test_harness/src/main.cpp.

Member Function Documentation

◆ getTimeUnitName()

std::string ProgramConfig::getTimeUnitName ( char  time_unit,
const std::string &  default_name = "(default)" 
)
static

Definition at line 48 of file report_gen/report_compiler/src/main.cpp.

◆ initializeConfig() [1/2]

void ProgramConfig::initializeConfig ( const hebench::ArgsParser &  parser)

◆ initializeConfig() [2/2]

void ProgramConfig::initializeConfig ( const hebench::ArgsParser &  parser)

Definition at line 64 of file test_harness/src/main.cpp.

◆ showBenchmarkDefaults()

void ProgramConfig::showBenchmarkDefaults ( std::ostream &  os)

Definition at line 120 of file test_harness/src/main.cpp.

◆ showConfig() [1/2]

void ProgramConfig::showConfig ( std::ostream &  os) const

◆ showConfig() [2/2]

void ProgramConfig::showConfig ( std::ostream &  os) const

Definition at line 126 of file test_harness/src/main.cpp.

◆ showVersion() [1/2]

static void ProgramConfig::showVersion ( std::ostream &  os)
static

◆ showVersion() [2/2]

void ProgramConfig::showVersion ( std::ostream &  os)
static

Definition at line 157 of file test_harness/src/main.cpp.

Member Data Documentation

◆ b_compile_reports

bool ProgramConfig::b_compile_reports

Definition at line 50 of file test_harness/src/main.cpp.

◆ b_dump_config

bool ProgramConfig::b_dump_config

Definition at line 42 of file test_harness/src/main.cpp.

◆ b_force_config

bool ProgramConfig::b_force_config

Definition at line 43 of file test_harness/src/main.cpp.

◆ b_show_overview

bool ProgramConfig::b_show_overview

Definition at line 21 of file report_gen/report_compiler/src/main.cpp.

◆ b_show_run_overview

bool ProgramConfig::b_show_run_overview

Definition at line 49 of file test_harness/src/main.cpp.

◆ b_silent

bool ProgramConfig::b_silent

Definition at line 22 of file report_gen/report_compiler/src/main.cpp.

◆ b_single_path_report

bool ProgramConfig::b_single_path_report

Definition at line 45 of file test_harness/src/main.cpp.

◆ b_validate_results

bool ProgramConfig::b_validate_results

Definition at line 44 of file test_harness/src/main.cpp.

◆ backend_lib_path

std::filesystem::path ProgramConfig::backend_lib_path

Definition at line 40 of file test_harness/src/main.cpp.

◆ config_file

std::filesystem::path ProgramConfig::config_file

Definition at line 41 of file test_harness/src/main.cpp.

◆ DefaultConfigFile

constexpr const char* ProgramConfig::DefaultConfigFile = ""
staticconstexpr

Definition at line 52 of file test_harness/src/main.cpp.

◆ DefaultMinTestTime

constexpr std::uint64_t ProgramConfig::DefaultMinTestTime = 0
staticconstexpr

Definition at line 53 of file test_harness/src/main.cpp.

◆ DefaultReportDelay

constexpr std::size_t ProgramConfig::DefaultReportDelay = 1000
staticconstexpr

Definition at line 55 of file test_harness/src/main.cpp.

◆ DefaultRootPath

constexpr const char* ProgramConfig::DefaultRootPath = "."
staticconstexpr

Definition at line 56 of file test_harness/src/main.cpp.

◆ DefaultSampleSize

constexpr std::uint64_t ProgramConfig::DefaultSampleSize = 0
staticconstexpr

Definition at line 54 of file test_harness/src/main.cpp.

◆ DefaultShowOverView

constexpr bool ProgramConfig::DefaultShowOverView = true
staticconstexpr

Definition at line 35 of file report_gen/report_compiler/src/main.cpp.

◆ input_file

std::filesystem::path ProgramConfig::input_file

Definition at line 20 of file report_gen/report_compiler/src/main.cpp.

◆ random_seed

std::uint64_t ProgramConfig::random_seed

Definition at line 46 of file test_harness/src/main.cpp.

◆ report_delay_ms

std::size_t ProgramConfig::report_delay_ms

Definition at line 47 of file test_harness/src/main.cpp.

◆ report_root_path

std::filesystem::path ProgramConfig::report_root_path

Definition at line 48 of file test_harness/src/main.cpp.

◆ ShowOverview

constexpr const char* ProgramConfig::ShowOverview = "--show_overview"
staticconstexpr

Definition at line 32 of file report_gen/report_compiler/src/main.cpp.

◆ SilentRun

constexpr const char* ProgramConfig::SilentRun = "--silent_run"
staticconstexpr

Definition at line 33 of file report_gen/report_compiler/src/main.cpp.

◆ time_unit

char ProgramConfig::time_unit

Definition at line 23 of file report_gen/report_compiler/src/main.cpp.

◆ time_unit_overview

char ProgramConfig::time_unit_overview

Definition at line 25 of file report_gen/report_compiler/src/main.cpp.

◆ time_unit_stats

char ProgramConfig::time_unit_stats

Definition at line 24 of file report_gen/report_compiler/src/main.cpp.

◆ time_unit_summary

char ProgramConfig::time_unit_summary

Definition at line 26 of file report_gen/report_compiler/src/main.cpp.

◆ TimeUnit

constexpr const char* ProgramConfig::TimeUnit = "--time_unit"
staticconstexpr

Definition at line 28 of file report_gen/report_compiler/src/main.cpp.

◆ TimeUnitOverview

constexpr const char* ProgramConfig::TimeUnitOverview = "--time_unit_overview"
staticconstexpr

Definition at line 30 of file report_gen/report_compiler/src/main.cpp.

◆ TimeUnitStats

constexpr const char* ProgramConfig::TimeUnitStats = "--time_unit_stats"
staticconstexpr

Definition at line 29 of file report_gen/report_compiler/src/main.cpp.

◆ TimeUnitSummary

constexpr const char* ProgramConfig::TimeUnitSummary = "--time_unit_summary"
staticconstexpr

Definition at line 31 of file report_gen/report_compiler/src/main.cpp.


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