diff options
author | Siddharth Rakesh <sidrakesh@google.com> | 2015-06-10 15:10:35 -0700 |
---|---|---|
committer | Siddharth Rakesh <sidrakesh@google.com> | 2015-06-10 15:10:35 -0700 |
commit | f4dafb5654c8cf49a20fe4ec666d3f838dc90fef (patch) | |
tree | 64f204ee36773968d4400243fa43ac5f4199cfa6 /test/cpp/qps/report.h | |
parent | 80b23e461d6958df6e18f95b8c9812f5d6e401b0 (diff) |
updated configs sending
Diffstat (limited to 'test/cpp/qps/report.h')
-rw-r--r-- | test/cpp/qps/report.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/cpp/qps/report.h b/test/cpp/qps/report.h index ea09c38585..432ed5ddf2 100644 --- a/test/cpp/qps/report.h +++ b/test/cpp/qps/report.h @@ -106,18 +106,19 @@ class GprLogReporter : public Reporter { /** Reporter for client leaderboard. */ class UserDatabaseReporter : public Reporter { public: - UserDatabaseReporter(const string& name, const string& access_token, - const string& test_name) : Reporter(name), access_token_(access_token), test_name_(test_name) {} - ~UserDatabaseReporter() { Flush(); }; + UserDatabaseReporter(const string& name, const string& access_token, const string& test_name, const string& sys_info) + : Reporter(name), access_token_(access_token), test_name_(test_name), sys_info_(sys_info) {} + ~UserDatabaseReporter() { SendData(); }; private: std::string access_token_; std::string test_name_; + std::string sys_info_; void ReportQPS(const ScenarioResult& result) const GRPC_OVERRIDE; void ReportQPSPerCore(const ScenarioResult& result) const GRPC_OVERRIDE; void ReportLatency(const ScenarioResult& result) const GRPC_OVERRIDE; void ReportTimes(const ScenarioResult& result) const GRPC_OVERRIDE; - void Flush() const; + void SendData() const; }; } // namespace testing |