Skip to content
Snippets Groups Projects

Nesser devel patch 07822

Closed Niclas Esser requested to merge nesser/psrdada_cpp:nesser-devel-patch-07822 into devel
4 files
+ 58
25
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -48,7 +48,7 @@ int main(int argc, char** argv)
for(uint i = 0; i < result.size(); i++){
out_keys.push_back(string_to_key(result[i]));
}
}),"The shared memory keys for the output dada buffers to connect to (hex string). Keys are separated by spaces ' '.")
}),"The shared memory keys for the output dada buffers to connect to (hex string). Keys are separated by comma ','.")
("log_level", po::value<std::string>()->default_value("info")->notifier([](std::string level){set_log_level(level);}),"The logging level to use (debug, info, warning, error)");
po::variables_map vm;
try
@@ -56,7 +56,7 @@ int main(int argc, char** argv)
po::store(po::parse_command_line(argc, argv, desc), vm);
if ( vm.count("help") )
{
std::cout << "dbsplitdb -- reads contents of a single dada buffer, splits it and writes it into several ringbuffers" << std::endl
std::cout << "dbsplit -- reads contents of a single dada buffer, splits it and writes it into several ringbuffers" << std::endl
<< desc << std::endl;
return SUCCESS;
}
@@ -73,8 +73,8 @@ int main(int argc, char** argv)
* All the application code goes here
*/
MultiLog log("dbsplitdb");
DbSplitDb splitter(out_keys, log, chunk_size);
MultiLog log("dbsplit");
DbSplit splitter(out_keys, log, chunk_size);
DadaInputStream<decltype(splitter)> istream(in_key, log, splitter);
istream.start();
Loading