|
| | Apply (StreamingPingPongArgs) |
| |
| | Apply (SweepSizesArgs) |
| |
| static void | ApplyCommonChannelArguments (ChannelArguments *c) |
| |
| static void | ApplyCommonServerBuilderConfig (ServerBuilder *b) |
| |
| | Args ({0, 0}) |
| |
| template<class T , class F > |
| double | average (const T &container, F functor) |
| |
| | BENCHMARK (BM_Alarm_Tag_Immediate) |
| |
| | BENCHMARK (BM_ByteBuffer_Copy) -> Ranges( |
| |
| | BENCHMARK (BM_ByteBufferReader_Next) -> Ranges( |
| |
| | BENCHMARK (BM_ByteBufferReader_Peek) -> Ranges( |
| |
| | BENCHMARK (BM_Callback_CQ_Pass1Core) |
| |
| | BENCHMARK (BM_Callback_CQ_Pass1CoreHeapCompletion) |
| |
| | BENCHMARK (BM_Cq_Throughput) -> ThreadRange(1, 16) ->UseRealTime() |
| |
| | BENCHMARK (BM_CreateDestroyCore) |
| |
| | BENCHMARK (BM_CreateDestroyCpp) |
| |
| | BENCHMARK (BM_CreateDestroyCpp2) |
| |
| | BENCHMARK (BM_EmptyCore) |
| |
| | BENCHMARK (BM_Pass1Core) |
| |
| | BENCHMARK (BM_Pass1Cpp) |
| |
| | BENCHMARK (BM_Pluck1Core) |
| |
| | BENCHMARK (BM_SpikyLoad) -> Arg(1) ->Arg(2) ->Arg(4) ->Arg(8) ->Arg(16) |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongMsgSizeArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, MinInProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongMsgSizeArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, NoOpMutator) -> Apply(SweepSizesArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, MinInProcess, NoOpMutator, NoOpMutator) -> Apply(SweepSizesArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinInProcess) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinInProcessCHTTP2) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinTCP) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinUDS) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinInProcess) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinInProcessCHTTP2) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinTCP) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinUDS) -> Arg(0) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPong, InProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPong, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, InProcess, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, InProcessCHTTP2, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, MinInProcess, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, InProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, InProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, MinInProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs) |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args( |
| |
| | BENCHMARK_TEMPLATE (BM_UnaryPingPong, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(SweepSizesArgs) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 1) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 4) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 8) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 1) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 128) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 16) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 2048) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 32) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 4) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 512) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 64) -> RangePair(524288, 524288, 1, 1024) |
| |
| | BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 8) -> RangePair(524288, 524288, 1, 1024) |
| |
| static std::unique_ptr< BenchmarkService::Stub > | BenchmarkStubCreator (const std::shared_ptr< Channel > &ch) |
| |
| static std::unique_ptr< BenchmarkService::Stub > | BenchmarkStubCreator (const std::shared_ptr< Channel > &ch) |
| |
| static std::unique_ptr< BenchmarkService::Stub > | BenchmarkStubCreator (const std::shared_ptr< Channel > &ch) |
| |
| static double | BinarySearch (Scenario *scenario, double targeted_cpu_load, double low, double high, const std::map< std::string, std::string > &per_worker_credential_types, bool *success) |
| |
| std::shared_ptr< ServerCredentials > | BinderServerCredentials () |
| |
| static void | BM_Alarm_Tag_Immediate (benchmark::State &state) |
| |
| static void | BM_ByteBuffer_Copy (benchmark::State &state) |
| |
| static void | BM_ByteBufferReader_Next (benchmark::State &state) |
| |
| static void | BM_ByteBufferReader_Peek (benchmark::State &state) |
| |
| static void | BM_Callback_CQ_Pass1Core (benchmark::State &state) |
| |
| static void | BM_Callback_CQ_Pass1CoreHeapCompletion (benchmark::State &state) |
| |
| template<class Fixture , class ClientContextMutator , class ServerContextMutator > |
| static void | BM_CallbackBidiStreaming (benchmark::State &state) |
| |
| template<class Fixture , class ClientContextMutator , class ServerContextMutator > |
| static void | BM_CallbackUnaryPingPong (benchmark::State &state) |
| |
| static void | BM_Cq_Throughput (benchmark::State &state) |
| |
| static void | BM_CreateDestroyCore (benchmark::State &state) |
| |
| static void | BM_CreateDestroyCpp (benchmark::State &state) |
| |
| static void | BM_CreateDestroyCpp2 (benchmark::State &state) |
| |
| static void | BM_EmptyCore (benchmark::State &state) |
| |
| static void | BM_Pass1Core (benchmark::State &state) |
| |
| static void | BM_Pass1Cpp (benchmark::State &state) |
| |
| static void | BM_Pluck1Core (benchmark::State &state) |
| |
| template<class Fixture > |
| static void | BM_PumpStreamClientToServer (benchmark::State &state) |
| |
| template<class Fixture > |
| static void | BM_PumpStreamServerToClient (benchmark::State &state) |
| |
| static void | BM_SpikyLoad (benchmark::State &state) |
| |
| template<class Fixture , class ClientContextMutator , class ServerContextMutator > |
| static void | BM_StreamingPingPong (benchmark::State &state) |
| |
| template<class Fixture , class ClientContextMutator , class ServerContextMutator > |
| static void | BM_StreamingPingPongMsgs (benchmark::State &state) |
| |
| template<class Fixture , class ClientContextMutator , class ServerContextMutator > |
| static void | BM_StreamingPingPongWithCoalescingApi (benchmark::State &state) |
| |
| static void | BM_ThreadPoolExternalAdd (benchmark::State &state) |
| |
| template<class Fixture , class ClientContextMutator , class ServerContextMutator > |
| static void | BM_UnaryPingPong (benchmark::State &state) |
| |
| grpc::lookup::v1::RouteLookupRequest | BuildRlsRequest (std::map< std::string, std::string > key, grpc::lookup::v1::RouteLookupRequest::Reason reason, const char *stale_header_data) |
| |
| grpc::lookup::v1::RouteLookupResponse | BuildRlsResponse (std::vector< std::string > targets, const char *header_data) |
| |
| bool | CheckMetadata (const std::multimap< grpc::string_ref, grpc::string_ref > &map, const string &key, const string &value) |
| |
| bool | CheckMetadata (const std::multimap< std::string, std::string > &map, const string &key, const string &value) |
| |
| static grpc_end2end_test_fixture | chttp2_create_fixture_secure_fullstack (grpc_channel_args *, grpc_channel_args *) |
| |
| static void | chttp2_init_client_secure_fullstack (grpc_end2end_test_fixture *f, grpc_channel_args *client_args, grpc_channel_credentials *creds) |
| |
| static void | chttp2_init_server_secure_fullstack (grpc_end2end_test_fixture *f, grpc_channel_args *server_args, grpc_server_credentials *server_creds) |
| |
| void | chttp2_tear_down_secure_fullstack (grpc_end2end_test_fixture *f) |
| |
| bool | ClientMetadataContains (const ServerContext &context, const grpc::string_ref &key, const grpc::string_ref &value) |
| |
| static double | CliPollCount (const ClientStats &s) |
| |
| static std::map< std::string, std::string > | ConstructPerWorkerCredentialTypesMap () |
| |
| static int | Cores (int n) |
| |
| static void | cq_done_cb (void *, grpc_cq_completion *cq_completion) |
| |
| std::unique_ptr< Client > | CreateAsyncClient (const ClientConfig &config) |
| |
| std::unique_ptr< Server > | CreateAsyncGenericServer (const ServerConfig &config) |
| |
| std::unique_ptr< Server > | CreateAsyncServer (const ServerConfig &config) |
| |
| std::shared_ptr< grpc::Channel > | CreateBinderChannel (std::unique_ptr< grpc_binder::Binder > endpoint_binder) |
| |
| std::unique_ptr< Client > | CreateCallbackClient (const ClientConfig &config) |
| |
| std::unique_ptr< Server > | CreateCallbackServer (const ServerConfig &config) |
| |
| std::shared_ptr< Channel > | CreateChannelForTestCase (const std::string &test_case, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
| |
| static std::unique_ptr< Client > | CreateClient (const ClientConfig &config) |
| |
| std::unique_ptr< Client > | CreateGenericAsyncStreamingClient (const ClientConfig &config) |
| |
| std::shared_ptr< ServerCredentials > | CreateInteropServerCredentials () |
| |
| std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface > > | CreatePhonyClientInterceptors () |
| |
| std::unique_ptr< ServerBuilder > | CreateQpsServerBuilder () |
| |
| static std::unique_ptr< Server > | CreateServer (const ServerConfig &config) |
| |
| std::unique_ptr< Client > | CreateSynchronousClient (const ClientConfig &config) |
| |
| std::unique_ptr< Server > | CreateSynchronousServer (const ServerConfig &config) |
| |
| std::unique_ptr< ServerBuilderPlugin > | CreateTestServerBuilderPlugin () |
| |
| std::string | DescribeMethod (const grpc::protobuf::MethodDescriptor *method) |
| |
| std::string | DescribeService (const grpc::protobuf::ServiceDescriptor *service) |
| |
| std::string | DescribeServiceList (std::vector< std::string > service_list, grpc::protobuf::DescriptorPool &desc_pool) |
| |
| int | detag (void *p) |
| |
| static void | DoneWithCompletionOnHeap (void *, grpc_cq_completion *completion) |
| |
| static void | DoneWithCompletionOnStack (void *, grpc_cq_completion *) |
| |
| static void | drain_cq (grpc_completion_queue *cq) |
| |
| static void | Drainer (ClientReaderWriter< EchoRequest, EchoResponse > *reader) |
| |
| static void | end_test (grpc_end2end_test_fixture *f) |
| |
| | EXPECT_EQ (grpc::StatusCode::INVALID_ARGUMENT, grpc::experimental::StsCredentialsOptionsFromJson(invalid_json, &options) .error_code()) |
| |
| | EXPECT_EQ (options.resource, "") |
| |
| | EXPECT_EQ (options.subject_token_path, "subject_token_path") |
| |
| | EXPECT_EQ (options.subject_token_type, "subject_token_type") |
| |
| | EXPECT_EQ (options.token_exchange_service_uri, "https://foo/exchange") |
| |
| | EXPECT_TRUE (grpc::experimental::StsCredentialsOptionsFromJson(minimum_valid_json, &options) .ok()) |
| |
| static int | fail_server_auth_check (grpc_channel_args *server_args) |
| |
| static int | FindExpectedBucket (int i, int j) |
| |
| static void | FinishClients (const std::vector< ClientData > &clients, const ClientArgs &client_mark) |
| |
| static void | FinishServers (const std::vector< ServerData > &servers, const ServerArgs &server_mark) |
| |
| static gpr_timespec | five_seconds_time (void) |
| |
| static std::unique_ptr< grpc::GenericStub > | GenericStubCreator (const std::shared_ptr< Channel > &ch) |
| |
| static std::string | get_host (const std::string &worker) |
| |
| static deque< string > | get_workers (const string &env_name) |
| |
| std::vector< string > | GetAllCredentialsTypeList () |
| |
| static double | GetCpuLoad (Scenario *scenario, double offered_load, const std::map< std::string, std::string > &per_worker_credential_types, bool *success) |
| |
| CredentialsProvider * | GetCredentialsProvider () |
| |
| std::string | GetCredType (const std::string &worker_addr, const std::map< std::string, std::string > &per_worker_credential_types, const std::string &credential_type) |
| |
| std::string | GetOauth2AccessToken () |
| |
| std::shared_ptr< Reporter > | GetReporter () |
| |
| std::string | GetServiceAccountJsonKey () |
| |
| int | GrpcToolMainLib (int argc, const char **argv, const CliCredentials &cred, const GrpcToolOutputCallback &callback) |
| |
| static std::shared_ptr< Reporter > | InitBenchmarkReporters () |
| |
| void | InitTest (int *argc, char ***argv, bool remove_flags) |
| |
| | INSTANTIATE_TEST_SUITE_P (End2EndShutdown, ShutdownTest, ::testing::ValuesIn(GetAllCredentialsTypeList())) |
| |
| | INSTANTIATE_TEST_SUITE_P (H2SslCert, H2SslCertTest, ::testing::ValuesIn(configs)) |
| |
| | INSTANTIATE_TEST_SUITE_P (HistogramTestCases, HistogramTest, ::testing::Range< int >(0, GRPC_STATS_HISTOGRAM_COUNT)) |
| |
| | INSTANTIATE_TEST_SUITE_P (ServerBuilderPluginTest, ServerBuilderPluginTest, ::testing::Values(false, true)) |
| |
| void | InvokeResolverComponentTestsRunner (std::string test_runner_bin_path, const std::string &test_bin_path, const std::string &dns_server_bin_path, const std::string &records_config_path, const std::string &dns_resolver_bin_path, const std::string &tcp_connect_bin_path) |
| |
| static bool | IsSuccess (const Status &s) |
| |
| static void | log_metadata_entry (const std::string &prefix, const grpc::string_ref &key, const grpc::string_ref &value) |
| |
| static grpc_event_engine_vtable | make_engine_vtable (const char *name) |
| |
| void | MakeAsyncCQBidiStreamingCall (const std::shared_ptr< Channel > &) |
| |
| void | MakeAsyncCQCall (const std::shared_ptr< Channel > &channel) |
| |
| void | MakeAsyncCQClientStreamingCall (const std::shared_ptr< Channel > &) |
| |
| void | MakeAsyncCQServerStreamingCall (const std::shared_ptr< Channel > &channel) |
| |
| void | MakeBidiStreamingCall (const std::shared_ptr< Channel > &channel) |
| |
| void | MakeCall (const std::shared_ptr< Channel > &channel, const StubOptions &options) |
| |
| void | MakeCallbackCall (const std::shared_ptr< Channel > &channel) |
| |
| void | MakeClientStreamingCall (const std::shared_ptr< Channel > &channel) |
| |
| void | MakeServerStreamingCall (const std::shared_ptr< Channel > &channel) |
| |
| template<class F > |
| auto | MakeVector (size_t length, F f) -> std::vector< decltype(f())> |
| |
| void | MergeStatusHistogram (const StatusHistogram &from, StatusHistogram *to) |
| |
| static gpr_timespec | n_seconds_time (int n) |
| |
| bool | ParseFromByteBuffer (ByteBuffer *buffer, grpc::protobuf::Message *message) |
| |
| void | ParseJson (const std::string &json, const std::string &type, GRPC_CUSTOM_MESSAGE *msg) |
| |
| static void | pollset_destroy (grpc_pollset *ps) |
| |
| static void | pollset_init (grpc_pollset *ps, gpr_mu **mu) |
| |
| static grpc_error_handle | pollset_kick (grpc_pollset *, grpc_pollset_worker *) |
| |
| static void | pollset_shutdown (grpc_pollset *, grpc_closure *closure) |
| |
| static grpc_error_handle | pollset_work (grpc_pollset *ps, grpc_pollset_worker **, grpc_core::Timestamp deadline) |
| |
| static void | postprocess_scenario_result (ScenarioResult *result) |
| |
| static void | process_auth_failure (void *state, grpc_auth_context *, const grpc_metadata *, size_t, grpc_process_auth_metadata_done_cb cb, void *user_data) |
| |
| static Status | ProcessGenericRPC (const PayloadConfig &payload_config, ByteBuffer *request, ByteBuffer *response) |
| |
| static Status | ProcessSimpleRPC (const PayloadConfig &, SimpleRequest *request, SimpleResponse *response) |
| |
| static bool | QpsDriver () |
| |
| | Range (0, 128 *1024 *1024) |
| |
| | RangePair (524288, 524288, 1, 1024) |
| |
| static void | ReceiveFinalStatusFromClients (const std::vector< ClientData > &clients, Histogram &merged_latencies, std::unordered_map< int, int64_t > &merged_statuses, ScenarioResult &result) |
| |
| static void | ReceiveFinalStatusFromServer (const std::vector< ServerData > &servers, ScenarioResult &result) |
| |
| static void | RegisterBenchmarkService (ServerBuilder *builder, BenchmarkService::AsyncService *service) |
| |
| static void | RegisterGenericService (ServerBuilder *builder, grpc::AsyncGenericService *service) |
| |
| static std::unique_ptr< ScenarioResult > | RunAndReport (const Scenario &scenario, const std::map< std::string, std::string > &per_worker_credential_types, bool *success) |
| |
| static void | RunQPS () |
| |
| bool | RunQuit (const std::string &credential_type, const std::map< std::string, std::string > &per_worker_credential_types) |
| |
| std::unique_ptr< ScenarioResult > | RunScenario (const ClientConfig &initial_client_config, size_t num_clients, const ServerConfig &initial_server_config, size_t num_servers, int warmup_seconds, int benchmark_seconds, int spawn_local_worker_count, const std::string &qps_server_target_override, const std::string &credential_type, const std::map< std::string, std::string > &per_worker_credential_types, bool run_inproc, int32_t median_latency_collection_interval_millis) |
| |
| std::unique_ptr< ScenarioResult > | RunScenario (const grpc::testing::ClientConfig &client_config, size_t num_clients, const grpc::testing::ServerConfig &server_config, size_t num_servers, int warmup_seconds, int benchmark_seconds, int spawn_local_worker_count, const std::string &qps_server_target_override, const std::string &credential_type, const std::map< std::string, std::string > &per_worker_credential_types, bool run_inproc, int32_t median_latency_collection_interval_millis) |
| |
| void | RunServer () |
| |
| static void | RunSynchronousUnaryPingPong () |
| |
| static void | RunSynchronousUnaryPingPong () |
| |
| static double | SearchOfferedLoad (double initial_offered_load, double targeted_cpu_load, Scenario *scenario, const std::map< std::string, std::string > &per_worker_credential_types, bool *success) |
| |
| void | SendCallbackUnaryPingPong (benchmark::State *state, ClientContext *cli_ctx, EchoRequest *request, EchoResponse *response, EchoTestService::Stub *stub_, bool *done, std::mutex *mu, std::condition_variable *cv) |
| |
| static void | SendRpc (grpc::testing::EchoTestService::Stub *stub, int num_rpcs, bool allow_exhaustion, gpr_atm *errors) |
| |
| std::string | SerializeJson (const GRPC_CUSTOM_MESSAGE &msg, const std::string &type) |
| |
| std::unique_ptr< ByteBuffer > | SerializeToByteBuffer (grpc::protobuf::Message *message) |
| |
| bool | SerializeToByteBufferInPlace (grpc::protobuf::Message *message, ByteBuffer *buffer) |
| |
| static double | ServerIdleCpuTime (const ServerStats &s) |
| |
| bool | ServerInitialMetadataContains (const ClientContext &context, const grpc::string_ref &key, const grpc::string_ref &value) |
| |
| static double | ServerSystemTime (const ServerStats &s) |
| |
| static double | ServerTotalCpuTime (const ServerStats &s) |
| |
| static double | ServerUserTime (const ServerStats &s) |
| |
| static double | ServerWallTime (const ServerStats &s) |
| |
| void | SetCreateQpsServerBuilderFunc (std::function< std::unique_ptr< ServerBuilder >()> create_qps_server_builder) |
| |
| void | SetCredentialsProvider (CredentialsProvider *provider) |
| |
| static void | setup () |
| |
| static void | shutdown_and_destroy (grpc_completion_queue *cc) |
| |
| static void | shutdown_client (grpc_end2end_test_fixture *f) |
| |
| static void | shutdown_server (grpc_end2end_test_fixture *f) |
| |
| static void | ShutdownClients (const std::vector< ClientData > &clients, ScenarioResult &result) |
| |
| static void | ShutdownServers (const std::vector< ServerData > &servers, ScenarioResult &result) |
| |
| static void | simple_request_body (grpc_end2end_test_fixture f, test_result expected_result) |
| |
| static void | StreamingPingPongArgs (benchmark::internal::Benchmark *b) |
| |
| static void | StreamingPingPongMsgSizeArgs (benchmark::internal::Benchmark *b) |
| |
| static void | StreamingPingPongMsgsNumberArgs (benchmark::internal::Benchmark *b) |
| |
| static void | StreamingPingPongWithCoalescingApiArgs (benchmark::internal::Benchmark *b) |
| |
| template<class T , class F > |
| double | sum (const T &container, F functor) |
| |
| std::string | SummarizeMethod (const grpc::protobuf::MethodDescriptor *method) |
| |
| std::string | SummarizeService (const grpc::protobuf::ServiceDescriptor *service) |
| |
| static double | SvrPollCount (const ServerStats &s) |
| |
| static void | SweepSizesArgs (benchmark::internal::Benchmark *b) |
| |
| static void | SweepSizesArgs (benchmark::internal::Benchmark *b) |
| |
| static double | SystemTime (const ClientStats &s) |
| |
| void * | tag (int i) |
| |
| static void * | tag (intptr_t t) |
| |
| static void * | tag (intptr_t x) |
| |
| static void * | tag (intptr_t x) |
| |
| static void * | tag (intptr_t x) |
| |
| static void * | tag (intptr_t x) |
| |
| static void | teardown () |
| |
| | TEST (ChannelFilterTest, RegisterChannelFilter) |
| |
| | TEST (ClientContextTestPeerTest, AddServerInitialMetadata) |
| |
| | TEST (ClientContextTestPeerTest, GetSendInitialMetadata) |
| |
| | TEST (ServerContextTestSpouseTest, ClientMetadataHandle) |
| |
| | TEST (ServerContextTestSpouseTest, InitialMetadata) |
| |
| | TEST (ServerContextTestSpouseTest, ServerMetadataHandle) |
| |
| | TEST (StatsTest, IncCounters) |
| |
| | TEST (StatsTest, IncSpecificCounter) |
| |
| | TEST (WritesPerRpcTest, UnaryPingPong) |
| |
| | TEST_F (AdminServicesTest, ValidateRegisteredServices) |
| |
| | TEST_F (ChannelArgumentsTest, SetInt) |
| |
| | TEST_F (ChannelArgumentsTest, SetPointer) |
| |
| | TEST_F (ChannelArgumentsTest, SetSocketMutator) |
| |
| | TEST_F (ChannelArgumentsTest, SetString) |
| |
| | TEST_F (ChannelArgumentsTest, SetUserAgentPrefix) |
| |
| | TEST_F (CliCallTest, SimpleRpc) |
| |
| | TEST_F (End2endTest, StreamingThroughput) |
| |
| | TEST_F (GrpcToolTest, CallCommand) |
| |
| | TEST_F (GrpcToolTest, CallCommandBatch) |
| |
| | TEST_F (GrpcToolTest, CallCommandBatchJsonInput) |
| |
| | TEST_F (GrpcToolTest, CallCommandBatchJsonInputWithBadRequest) |
| |
| | TEST_F (GrpcToolTest, CallCommandBatchWithBadRequest) |
| |
| | TEST_F (GrpcToolTest, CallCommandBidiStream) |
| |
| | TEST_F (GrpcToolTest, CallCommandBidiStreamWithBadRequest) |
| |
| | TEST_F (GrpcToolTest, CallCommandJsonInput) |
| |
| | TEST_F (GrpcToolTest, CallCommandRequestStream) |
| |
| | TEST_F (GrpcToolTest, CallCommandRequestStreamJsonInput) |
| |
| | TEST_F (GrpcToolTest, CallCommandRequestStreamWithBadRequest) |
| |
| | TEST_F (GrpcToolTest, CallCommandRequestStreamWithBadRequestJsonInput) |
| |
| | TEST_F (GrpcToolTest, CallCommandResponseStream) |
| |
| | TEST_F (GrpcToolTest, CallCommandWithBadMetadata) |
| |
| | TEST_F (GrpcToolTest, CallCommandWithDefaultTimeoutValue) |
| |
| | TEST_F (GrpcToolTest, CallCommandWithMetadata) |
| |
| | TEST_F (GrpcToolTest, CallCommandWithNegativeTimeoutValue) |
| |
| | TEST_F (GrpcToolTest, CallCommandWithTimeoutDeadlineSet) |
| |
| | TEST_F (GrpcToolTest, CallCommandWithTimeoutDeadlineUpperBound) |
| |
| | TEST_F (GrpcToolTest, ConfiguringDefaultServiceConfig) |
| |
| | TEST_F (GrpcToolTest, HelpCommand) |
| |
| | TEST_F (GrpcToolTest, InvalidCommand) |
| |
| | TEST_F (GrpcToolTest, ListCommand) |
| |
| | TEST_F (GrpcToolTest, ListCommand_OverrideSslHostName) |
| |
| | TEST_F (GrpcToolTest, ListOneMethod) |
| |
| | TEST_F (GrpcToolTest, ListOneService) |
| |
| | TEST_F (GrpcToolTest, NoCommand) |
| |
| | TEST_F (GrpcToolTest, ParseCommand) |
| |
| | TEST_F (GrpcToolTest, ParseCommandJsonFormat) |
| |
| | TEST_F (GrpcToolTest, TooFewArguments) |
| |
| | TEST_F (GrpcToolTest, TooManyArguments) |
| |
| | TEST_F (GrpcToolTest, TypeCommand) |
| |
| | TEST_F (GrpcToolTest, TypeNotFound) |
| |
| | TEST_F (ProtoServerReflectionTest, CheckResponseWithLocalDescriptorPool) |
| |
| | TEST_P (H2SslCertTest, SimpleRequestBody) |
| |
| | TEST_P (HistogramTest, IncHistogram) |
| |
| | TEST_P (ServerBuilderPluginTest, PluginWithoutServiceTest) |
| |
| | TEST_P (ServerBuilderPluginTest, PluginWithServiceTest) |
| |
| | TEST_P (ShutdownTest, ShutdownTest) |
| |
| template<int kConcurrentFunctor> |
| static void | ThreadPoolAddAnother (benchmark::State &state) |
| |
| template<int kConcurrentFunctor> |
| static void | ThreadPoolAddSelf (benchmark::State &state) |
| |
| std::string | ToString (const grpc::string_ref &r) |
| |
| | TYPED_TEST (AsyncClientEnd2endTest, ThreadStress) |
| |
| | TYPED_TEST (End2endTest, ThreadStress) |
| |
| | TYPED_TEST_SUITE (AsyncClientEnd2endTest, CommonTypes) |
| |
| | TYPED_TEST_SUITE (End2endTest, CommonTypes) |
| |
| static double | UnaryPingPong (int request_size, int response_size) |
| |
| void | UpdateActions (std::unordered_map< std::string, std::function< bool()>> *) |
| |
| static double | UserTime (const ClientStats &s) |
| |
| void | ValidateChannelProtoJsonTranslation (const char *json_c_str) |
| |
| void | ValidateChannelTraceProtoJsonTranslation (const char *json_c_str) |
| |
| void | ValidateGetChannelResponseProtoJsonTranslation (const char *json_c_str) |
| |
| void | ValidateGetServerResponseProtoJsonTranslation (const char *json_c_str) |
| |
| void | ValidateGetServersResponseProtoJsonTranslation (const char *json_c_str) |
| |
| void | ValidateGetTopChannelsResponseProtoJsonTranslation (const char *json_c_str) |
| |
| void | ValidateServerProtoJsonTranslation (const char *json_c_str) |
| |
| void | ValidateSubchannelProtoJsonTranslation (const char *json_c_str) |
| |
| static double | WallTime (const ClientStats &s) |
| |