Add support for naming the dataset

This commit is contained in:
Patrick Niklaus
2018-04-04 12:51:46 +00:00
committed by Patrick Niklaus
parent 666ce46d36
commit 2c80f76004
11 changed files with 82 additions and 20 deletions
+3
View File
@@ -115,6 +115,9 @@ inline unsigned generateServerProgramOptions(const int argc,
("memory_file",
value<boost::filesystem::path>(&config.memory_file),
"Store data in a memory mapped file rather than in process memory.") //
("dataset-name",
value<std::string>(&config.dataset_name),
"Name of the shared memory dataset to connect to.") //
("algorithm,a",
value<EngineConfig::Algorithm>(&config.algorithm)
->default_value(EngineConfig::Algorithm::CH, "CH"),