Home
last modified time | relevance | path

Searched refs:payload_config (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc/test/cpp/qps/
Djson_run_localhost_scenarios.bzl3payload_config": {"simple_params": {"resp_size": 50, "req_size": 300}}, "client_channels": 300, "t…
Dqps_json_driver_scenarios.bzl3payload_config": {"simple_params": {"resp_size": 0, "req_size": 0}}, "client_channels": 64, "threa…
Dclient.h69 const PayloadConfig& payload_config) { in ClientRequestCreator() argument
70 if (payload_config.has_bytebuf_params()) { in ClientRequestCreator()
72 } else if (payload_config.has_simple_params()) { in ClientRequestCreator()
74 req->set_response_size(payload_config.simple_params().resp_size()); in ClientRequestCreator()
77 int size = payload_config.simple_params().req_size(); in ClientRequestCreator()
80 } else if (payload_config.has_complex_params()) { in ClientRequestCreator()
95 ClientRequestCreator(ByteBuffer* req, const PayloadConfig& payload_config) { in ClientRequestCreator() argument
96 if (payload_config.has_bytebuf_params()) { in ClientRequestCreator()
98 new char[payload_config.bytebuf_params().req_size()]); in ClientRequestCreator()
99 Slice slice(buf.get(), payload_config.bytebuf_params().req_size()); in ClientRequestCreator()
[all …]
Dqps_worker.cc54 config.payload_config().has_bytebuf_params()); in CreateClient()
60 return config.payload_config().has_bytebuf_params() in CreateClient()
Dserver_async.cc112 std::bind(process_rpc, config.payload_config(), std::placeholders::_1, in AsyncQpsServerTest()
558 static Status ProcessGenericRPC(const PayloadConfig& payload_config, in ProcessGenericRPC() argument
563 int resp_size = payload_config.bytebuf_params().resp_size(); in ProcessGenericRPC()
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DServerConfig.php50 private $payload_config = null; variable in Grpc\\Testing\\ServerConfig
218 return $this->payload_config;
234 $this->payload_config = $var;
DClientConfig.php63 private $payload_config = null; variable in Grpc\\Testing\\ClientConfig
318 return $this->payload_config;
329 $this->payload_config = $var;
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dbenchmark_client.py59 if config.payload_config.WhichOneof('payload') == 'simple_params':
64 body='\0' * config.payload_config.simple_params.req_size)
67 response_size=config.payload_config.simple_params.resp_size)
71 self._request = '\0' * config.payload_config.bytebuf_params.req_size
Dworker_server.py79 resp_size = config.payload_config.bytebuf_params.resp_size
/external/grpc-grpc/src/ruby/qps/
Dclient.rb71 simple_params = config.payload_config.simple_params
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dcontrol.proto95 PayloadConfig payload_config = 11; field
139 PayloadConfig payload_config = 9; field
/external/grpc-grpc/src/proto/grpc/testing/
Dcontrol.proto94 PayloadConfig payload_config = 11; field
148 PayloadConfig payload_config = 9; field