CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
client::PerfOptions Struct Reference

#include <perf_client.h>

Inherited by TpccClientOptions.

Public Member Functions

 PerfOptions (const std::string &default_label, const std::string &default_pid_file, CLI::App &app)
 

Public Attributes

std::string label
 
std::string pid_file
 
cli::ParsedAddress server_address
 
std::string cert_file
 
std::string key_file
 
std::string ca_file
 
std::string verification_file
 
std::string bearer_token
 
size_t num_transactions = 10000
 
size_t thread_count = 1
 
size_t session_count = 1
 
size_t max_writes_ahead = 0
 
size_t latency_rounds = 1
 
size_t generator_seed = 42u
 
size_t transactions_per_s = 0
 
bool sign = false
 
bool no_create = false
 
bool no_wait = false
 
bool write_tx_times = false
 
bool randomise = false
 
bool check_responses = false
 
bool relax_commit_target = false
 

Constructor & Destructor Documentation

◆ PerfOptions()

client::PerfOptions::PerfOptions ( const std::string &  default_label,
const std::string &  default_pid_file,
CLI::App &  app 
)
inline

Member Data Documentation

◆ bearer_token

std::string client::PerfOptions::bearer_token

◆ ca_file

std::string client::PerfOptions::ca_file

◆ cert_file

std::string client::PerfOptions::cert_file

◆ check_responses

bool client::PerfOptions::check_responses = false

◆ generator_seed

size_t client::PerfOptions::generator_seed = 42u

◆ key_file

std::string client::PerfOptions::key_file

◆ label

std::string client::PerfOptions::label

Options set from command line

◆ latency_rounds

size_t client::PerfOptions::latency_rounds = 1

◆ max_writes_ahead

size_t client::PerfOptions::max_writes_ahead = 0

◆ no_create

bool client::PerfOptions::no_create = false

◆ no_wait

bool client::PerfOptions::no_wait = false

◆ num_transactions

size_t client::PerfOptions::num_transactions = 10000

◆ pid_file

std::string client::PerfOptions::pid_file

◆ randomise

bool client::PerfOptions::randomise = false

◆ relax_commit_target

bool client::PerfOptions::relax_commit_target = false

◆ server_address

cli::ParsedAddress client::PerfOptions::server_address

◆ session_count

size_t client::PerfOptions::session_count = 1

◆ sign

bool client::PerfOptions::sign = false

◆ thread_count

size_t client::PerfOptions::thread_count = 1

◆ transactions_per_s

size_t client::PerfOptions::transactions_per_s = 0

◆ verification_file

std::string client::PerfOptions::verification_file

◆ write_tx_times

bool client::PerfOptions::write_tx_times = false

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