#include <client.h>

Classes | |
| class | Thread |
Public Member Functions | |
| void | AwaitThreadsCompletion () |
| Client () | |
| double | GetLatencyCollectionIntervalInSeconds () |
| virtual int | GetPollCount () |
| bool | IsClosedLoop () |
| ClientStats | Mark (bool reset) |
| gpr_timespec | NextIssueTime (int thread_idx) |
| bool | ThreadCompleted () |
| virtual | ~Client () |
Protected Member Functions | |
| void | CompleteThread () |
| virtual void | DestroyMultithreading ()=0 |
| void | EndThreads () |
| void | MaybeStartRequests () |
| std::function< gpr_timespec()> | NextIssuer (int thread_idx) |
| void | SetupLoadTest (const ClientConfig &config, size_t num_threads) |
| void | StartThreads (size_t num_threads) |
| virtual void | ThreadFunc (size_t thread_idx, Client::Thread *t)=0 |
Protected Attributes | |
| bool | closed_loop_ |
| InterarrivalTimer | interarrival_timer_ |
| int | last_reset_poll_count_ |
| double | median_latency_collection_interval_seconds_ |
| std::vector< gpr_timespec > | next_time_ |
| gpr_event | start_requests_ |
| bool | started_requests_ |
| std::mutex | thread_completion_mu_ |
| gpr_atm | thread_pool_done_ |
| std::vector< std::unique_ptr< Thread > > | threads_ |
| std::condition_variable | threads_complete_ |
| size_t | threads_remaining_ |
| std::unique_ptr< UsageTimer > | timer_ |
|
inline |
|
inlineprotected |
|
protectedpure virtual |
Implemented in grpc::testing::AsyncClient< StubType, RequestType >, grpc::testing::AsyncClient< BenchmarkService::Stub, SimpleRequest >, grpc::testing::AsyncClient< grpc::GenericStub, ByteBuffer >, grpc::testing::SynchronousStreamingClient< StreamType >, grpc::testing::SynchronousStreamingClient< grpc::ClientReaderWriter< SimpleRequest, SimpleResponse > >, grpc::testing::SynchronousStreamingClient< grpc::ClientWriter< SimpleRequest > >, grpc::testing::SynchronousStreamingClient< grpc::ClientReader< SimpleResponse > >, grpc::testing::SynchronousUnaryClient, and grpc::testing::CallbackClient.
|
inline |
|
inlinevirtual |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protectedpure virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |