Skip to content

Commit 0bd87fc

Browse files
committed
Benchmark: added id
1 parent b7f8d1b commit 0bd87fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/5-Benchmark.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ int main(int argc, char *argv[]) {
2929
desc.add_options()
3030
("sleep", boost::program_options::value<int>(), "Thread sleep in microseconds")
3131
("config", boost::program_options::value<std::string>()->required(), "Config file path")
32+
("id", boost::program_options::value<std::string>(), "Instance ID")
3233
;
3334

3435
boost::program_options::variables_map vm;
@@ -40,7 +41,6 @@ int main(int argc, char *argv[]) {
4041
}
4142

4243
try {
43-
// configure monitoring (once per process), pass configuration path as parameter
4444
Monitoring::Configure("file://" + vm["config"].as<std::string>());
4545
} catch (std::string &e) {
4646
std::cout << "Configuration file not found.\n" << e << std::endl;

0 commit comments

Comments
 (0)