Public Member Functions | |
AsyncUnaryClient (const ClientConfig &config) | |
~AsyncUnaryClient () override | |
![]() | |
AsyncClient (const ClientConfig &config, std::function< ClientRpcContext *(BenchmarkService::Stub *, std::function< gpr_timespec()> next_issue, const SimpleRequest &)> setup_ctx, std::function< std::unique_ptr< BenchmarkService::Stub >(std::shared_ptr< Channel >)> create_stub) | |
int | GetPollCount () override |
std::function< gpr_timespec()> | NextIssuer (int thread_idx) |
void | SetupLoadTest (const ClientConfig &config, size_t num_threads) |
~AsyncClient () override | |
![]() | |
ClientImpl (const ClientConfig &config, std::function< std::unique_ptr< BenchmarkService::Stub >(std::shared_ptr< Channel >)> create_stub) | |
const SimpleRequest * | request () |
void | WaitForChannelsToConnect () |
~ClientImpl () override | |
![]() | |
void | AwaitThreadsCompletion () |
Client () | |
double | GetLatencyCollectionIntervalInSeconds () |
bool | IsClosedLoop () |
ClientStats | Mark (bool reset) |
gpr_timespec | NextIssueTime (int thread_idx) |
bool | ThreadCompleted () |
virtual | ~Client () |
Static Private Member Functions | |
static void | CheckDone (const grpc::Status &s, SimpleResponse *, HistogramEntry *entry) |
static std::unique_ptr< grpc::ClientAsyncResponseReader< SimpleResponse > > | PrepareReq (BenchmarkService::Stub *stub, grpc::ClientContext *ctx, const SimpleRequest &request, CompletionQueue *cq) |
static ClientRpcContext * | SetupCtx (BenchmarkService::Stub *stub, std::function< gpr_timespec()> next_issue, const SimpleRequest &req) |
Definition at line 308 of file client_async.cc.
|
inlineexplicit |
Definition at line 311 of file client_async.cc.
|
inlineoverride |
Definition at line 316 of file client_async.cc.
|
inlinestaticprivate |
Definition at line 319 of file client_async.cc.
|
inlinestaticprivate |
Definition at line 324 of file client_async.cc.
|
inlinestaticprivate |
Definition at line 328 of file client_async.cc.