#include "hebench_dataset_loader.h"
#include <cstdlib>
#include <cstring>
#include <filesystem>
#include <iostream>
#include <map>
#include <stdexcept>
Go to the source code of this file.
◆ DataType
◆ get_type_from_data()
std::uint8_t get_type_from_data |
( |
std::string |
data | ) |
|
◆ load_from_csv()
void load_from_csv |
( |
std::string |
data, |
|
|
std::filesystem::path |
file_path, |
|
|
std::uint64_t |
max_loaded_size |
|
) |
| |
◆ signal_error()
void signal_error |
( |
const char * |
msg, |
|
|
bool |
usage = false |
|
) |
| |
◆ check_usage
constexpr const char* check_usage |
|
constexpr |
◆ file_path_arg
constexpr std::uint8_t file_path_arg = 1 |
|
constexpr |
◆ help_arg
constexpr std::uint8_t help_arg = 1 |
|
constexpr |
◆ help_cstr_long
constexpr const char* help_cstr_long = "--help" |
|
constexpr |
◆ help_cstr_short
constexpr const char* help_cstr_short = "-h" |
|
constexpr |
◆ help_msg
constexpr const char* help_msg |
|
constexpr |
Initial value:= "NAME\n\tdata_loader - launches the data loader module.\n\n"
"SYNOPSYS\n\tdata_loader [OPTION] [FILE] [DATA_TYPE] [MAX_LOAD]\n\n"
"DESCRIPTION\n\tIs a launcher app to test the data loader module.\n"
"\tWith no MAX_LOAD, it will be set to 0.\n\n"
"\t-h, --help displays help mesage and exits"
Definition at line 25 of file hebench_dataset_loader_functional_test.h.
◆ max_args_allowed
constexpr std::uint8_t max_args_allowed = 4 |
|
constexpr |
◆ max_loaded_size_arg
constexpr std::uint8_t max_loaded_size_arg = 3 |
|
constexpr |
◆ min_args_allowed
constexpr std::uint8_t min_args_allowed = 2 |
|
constexpr |
◆ type_arg
constexpr std::uint8_t type_arg = 2 |
|
constexpr |