| Index: third_party/grpc/src/proto/grpc/testing/perf_db.proto
|
| diff --git a/third_party/protobuf/src/google/protobuf/arena_test_util.cc b/third_party/grpc/src/proto/grpc/testing/perf_db.proto
|
| similarity index 61%
|
| copy from third_party/protobuf/src/google/protobuf/arena_test_util.cc
|
| copy to third_party/grpc/src/proto/grpc/testing/perf_db.proto
|
| index df9c5bd6b488c174f03b62e57b67444c79192184..0ba8596fe943308f2df003ae90c98d00ec689cf4 100644
|
| --- a/third_party/protobuf/src/google/protobuf/arena_test_util.cc
|
| +++ b/third_party/grpc/src/proto/grpc/testing/perf_db.proto
|
| @@ -1,6 +1,5 @@
|
| -// Protocol Buffers - Google's data interchange format
|
| -// Copyright 2008 Google Inc. All rights reserved.
|
| -// https://developers.google.com/protocol-buffers/
|
| +// Copyright 2015, Google Inc.
|
| +// All rights reserved.
|
| //
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| @@ -28,23 +27,43 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -#include <google/protobuf/stubs/logging.h>
|
| -#include <google/protobuf/stubs/common.h>
|
| -#include <google/protobuf/arena_test_util.h>
|
| +syntax = "proto3";
|
|
|
| +import "src/proto/grpc/testing/control.proto";
|
|
|
| -#define EXPECT_EQ GOOGLE_CHECK_EQ
|
| +package grpc.testing;
|
|
|
| -namespace google {
|
| -namespace protobuf {
|
| -namespace internal {
|
| +service PerfDbTransfer {
|
| + // Sends client info
|
| + rpc RecordSingleClientData(SingleUserRecordRequest)
|
| + returns (SingleUserRecordReply) {}
|
| +}
|
| +
|
| +// Metrics to be stored
|
| +message Metrics {
|
| + double qps = 1;
|
| + double qps_per_core = 2;
|
| + double perc_lat_50 = 3;
|
| + double perc_lat_90 = 4;
|
| + double perc_lat_95 = 5;
|
| + double perc_lat_99 = 6;
|
| + double perc_lat_99_point_9 = 7;
|
| + double server_system_time = 8;
|
| + double server_user_time = 9;
|
| + double client_system_time = 10;
|
| + double client_user_time = 11;
|
| +}
|
|
|
| -NoHeapChecker::~NoHeapChecker() {
|
| - capture_alloc.Unhook();
|
| - EXPECT_EQ(0, capture_alloc.alloc_count());
|
| - EXPECT_EQ(0, capture_alloc.free_count());
|
| +// Request for storing a single user's data
|
| +message SingleUserRecordRequest {
|
| + string hashed_id = 1;
|
| + string test_name = 2;
|
| + string sys_info = 3;
|
| + string tag = 4;
|
| + Metrics metrics = 5;
|
| + ClientConfig client_config = 6;
|
| + ServerConfig server_config = 7;
|
| }
|
|
|
| -} // namespace internal
|
| -} // namespace protobuf
|
| -} // namespace google
|
| +// Reply to request for storing single user's data
|
| +message SingleUserRecordReply {}
|
|
|