aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/benchmark_config.cc
diff options
context:
space:
mode:
authorGravatar Siddharth Rakesh <sidrakesh@google.com>2015-06-30 16:38:32 -0700
committerGravatar Siddharth Rakesh <sidrakesh@google.com>2015-06-30 16:38:32 -0700
commitfd1a20a667fc2cfdfe2afd8a8d54cb3f5438b5df (patch)
tree2c241f1cd3e5706ba8aadd100b7e458707fe572d /test/cpp/util/benchmark_config.cc
parenta6d13f35b8f51ec3054ea48dc30cb9f23adfe6d8 (diff)
Changes introduced for passing hashed user id instead of access token
Diffstat (limited to 'test/cpp/util/benchmark_config.cc')
-rw-r--r--test/cpp/util/benchmark_config.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/util/benchmark_config.cc b/test/cpp/util/benchmark_config.cc
index 030cb28c32..91fbbf9677 100644
--- a/test/cpp/util/benchmark_config.cc
+++ b/test/cpp/util/benchmark_config.cc
@@ -39,7 +39,7 @@ DEFINE_bool(enable_log_reporter, true,
DEFINE_bool(report_metrics_db, false, "True if metrics to be reported to performance database");
-DEFINE_string(access_token, "", "Authorizing JSON string for leaderboard");
+DEFINE_string(hashed_id, "", "Hash of the user id");
DEFINE_string(test_name, "", "Name of the test being executed");
@@ -71,7 +71,7 @@ static std::shared_ptr<Reporter> InitBenchmarkReporters() {
}
if(FLAGS_report_metrics_db) {
composite_reporter->add(
- std::unique_ptr<Reporter>(new PerfDbReporter("PerfDbReporter", FLAGS_access_token, FLAGS_test_name,
+ std::unique_ptr<Reporter>(new PerfDbReporter("PerfDbReporter", FLAGS_hashed_id, FLAGS_test_name,
FLAGS_sys_info, FLAGS_server_address, FLAGS_tag)));
}