We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f8d1b commit 0bd87fcCopy full SHA for 0bd87fc
examples/5-Benchmark.cxx
@@ -29,6 +29,7 @@ int main(int argc, char *argv[]) {
29
desc.add_options()
30
("sleep", boost::program_options::value<int>(), "Thread sleep in microseconds")
31
("config", boost::program_options::value<std::string>()->required(), "Config file path")
32
+ ("id", boost::program_options::value<std::string>(), "Instance ID")
33
;
34
35
boost::program_options::variables_map vm;
@@ -40,7 +41,6 @@ int main(int argc, char *argv[]) {
40
41
}
42
43
try {
- // configure monitoring (once per process), pass configuration path as parameter
44
Monitoring::Configure("file://" + vm["config"].as<std::string>());
45
} catch (std::string &e) {
46
std::cout << "Configuration file not found.\n" << e << std::endl;
0 commit comments