mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 16:46:47 +00:00
Formatting
This commit is contained in:
parent
62781389d4
commit
36f409dc72
|
@ -57,7 +57,7 @@ class FairMQSink : public FairMQDevice//, public OutputPolicy
|
||||||
LOG(info) << "Starting the benchmark and expecting to receive " << fMaxIterations << " messages.";
|
LOG(info) << "Starting the benchmark and expecting to receive " << fMaxIterations << " messages.";
|
||||||
auto tStart = std::chrono::high_resolution_clock::now();
|
auto tStart = std::chrono::high_resolution_clock::now();
|
||||||
|
|
||||||
while (CheckCurrentState(RUNNING))
|
while (!NewStatePending())
|
||||||
{
|
{
|
||||||
if (fMultipart)
|
if (fMultipart)
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,7 +58,7 @@ FairMQProgOptions::FairMQProgOptions()
|
||||||
fMQOptions.add_options()
|
fMQOptions.add_options()
|
||||||
("id", po::value<string>(), "Device ID (required argument).")
|
("id", po::value<string>(), "Device ID (required argument).")
|
||||||
("io-threads", po::value<int >()->default_value(1), "Number of I/O threads.")
|
("io-threads", po::value<int >()->default_value(1), "Number of I/O threads.")
|
||||||
("transport", po::value<string>()->default_value("zeromq"), "Transport ('zeromq'/'nanomsg'/'shmem') .")
|
("transport", po::value<string>()->default_value("zeromq"), "Transport ('zeromq'/'nanomsg'/'shmem').")
|
||||||
("network-interface", po::value<string>()->default_value("default"), "Network interface to bind on (e.g. eth0, ib0..., default will try to detect the interface of the default route).")
|
("network-interface", po::value<string>()->default_value("default"), "Network interface to bind on (e.g. eth0, ib0..., default will try to detect the interface of the default route).")
|
||||||
("config-key", po::value<string>(), "Use provided value instead of device id for fetching the configuration from the config file.")
|
("config-key", po::value<string>(), "Use provided value instead of device id for fetching the configuration from the config file.")
|
||||||
("initialization-timeout", po::value<int >()->default_value(120), "Timeout for the initialization in seconds (when expecting dynamic initialization).")
|
("initialization-timeout", po::value<int >()->default_value(120), "Timeout for the initialization in seconds (when expecting dynamic initialization).")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user