◆ CallbackClient()
| grpc::testing::CallbackClient::CallbackClient |
( |
const ClientConfig & |
config | ) |
|
|
inlineexplicit |
◆ ~CallbackClient()
| grpc::testing::CallbackClient::~CallbackClient |
( |
| ) |
|
|
inlineoverride |
◆ DestroyMultithreading()
| void grpc::testing::CallbackClient::DestroyMultithreading |
( |
| ) |
|
|
inlinefinalprivatevirtual |
◆ InitThreadFuncImpl()
| virtual void grpc::testing::CallbackClient::InitThreadFuncImpl |
( |
size_t |
thread_idx | ) |
|
|
protectedpure virtual |
◆ NextRPCIssueTime()
| gpr_timespec grpc::testing::CallbackClient::NextRPCIssueTime |
( |
| ) |
|
|
inline |
◆ NotifyMainThreadOfThreadCompletion()
| void grpc::testing::CallbackClient::NotifyMainThreadOfThreadCompletion |
( |
| ) |
|
|
inline |
The main thread of the benchmark will be waiting on DestroyMultithreading. Increment the rpcs_done_ variable to signify that the Callback RPC after thread completion is done. When the last outstanding rpc increments the counter it should also signal the main thread's conditional variable.
Definition at line 88 of file test/cpp/qps/client_callback.cc.
◆ NumThreads()
| int grpc::testing::CallbackClient::NumThreads |
( |
const ClientConfig & |
config | ) |
|
|
inlineprivate |
◆ ThreadFunc()
| void grpc::testing::CallbackClient::ThreadFunc |
( |
size_t |
thread_idx, |
|
|
Thread * |
t |
|
) |
| |
|
inlineoverrideprotectedvirtual |
◆ ThreadFuncImpl()
| virtual bool grpc::testing::CallbackClient::ThreadFuncImpl |
( |
Thread * |
t, |
|
|
size_t |
thread_idx |
|
) |
| |
|
protectedpure virtual |
◆ ctx_
◆ next_issue_time_mu_
| std::mutex grpc::testing::CallbackClient::next_issue_time_mu_ |
|
private |
◆ num_threads_
| size_t grpc::testing::CallbackClient::num_threads_ |
|
protected |
◆ rpcs_done_
| size_t grpc::testing::CallbackClient::rpcs_done_ |
|
protected |
◆ shutdown_cv_
| std::condition_variable grpc::testing::CallbackClient::shutdown_cv_ |
|
protected |
◆ shutdown_mu_
| std::mutex grpc::testing::CallbackClient::shutdown_mu_ |
|
protected |
◆ total_outstanding_rpcs_
| size_t grpc::testing::CallbackClient::total_outstanding_rpcs_ |
|
protected |
The documentation for this class was generated from the following file: