You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
("ip_address,i", boost::program_options::value<std::string>(&server_ip), "Server's IP address")
107
108
("operation,o", boost::program_options::value<bool>(&operation)->default_value(false), "Benchmark operation: READ(0) or WRITE(1)")
108
109
("runs,r", boost::program_options::value<unsignedint>(&n_runs)->default_value(N_RUNS_DEFAULT), "Number of times to repeat the test")
109
110
("min_size,x", boost::program_options::value<unsignedint>(&min_size)->default_value(MIN_TRANSFER_SIZE_DEFAULT), "Starting (minimum) transfer size")
110
-
("max_size,X", boost::program_options::value<unsignedint>(&max_size)->default_value(MAX_TRANSFER_SIZE_DEFAULT), "Ending (maximum) transfer size");
111
+
("max_size,X", boost::program_options::value<unsignedint>(&max_size)->default_value(MAX_TRANSFER_SIZE_DEFAULT), "Ending (maximum) transfer size")
112
+
("throughput,t", boost::program_options::bool_switch(&throughput)->default_value(false), "Whether to benchmark throughput (true) or latency (false); by default, latency is benchmarked");
("ip_address,i", boost::program_options::value<std::string>(&server_ip), "Server's IP address")
118
126
("operation,o", boost::program_options::value<bool>(&operation)->default_value(false), "Benchmark operation: READ(0) or WRITE(1)")
119
127
("runs,r", boost::program_options::value<unsignedint>(&n_runs)->default_value(N_RUNS_DEFAULT), "Number of times to repeat the test")
120
128
("min_size,x", boost::program_options::value<unsignedint>(&min_size)->default_value(MIN_TRANSFER_SIZE_DEFAULT), "Starting (minimum) transfer size")
121
-
("max_size,X", boost::program_options::value<unsignedint>(&max_size)->default_value(MAX_TRANSFER_SIZE_DEFAULT), "Ending (maximum) transfer size");
129
+
("max_size,X", boost::program_options::value<unsignedint>(&max_size)->default_value(MAX_TRANSFER_SIZE_DEFAULT), "Ending (maximum) transfer size")
130
+
("throughput,t", boost::program_options::bool_switch(&throughput)->default_value(false), "Whether to benchmark throughput (true) or latency (false); by default, latency is benchmarked");
0 commit comments