Home
last modified time | relevance | path

Searched refs:UsageTimer (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/cpp/qps/
Dusage_timer.cc36 UsageTimer::UsageTimer() : start_(Sample()) {} in UsageTimer() function in UsageTimer
38 double UsageTimer::Now() { in Now()
76 UsageTimer::Result UsageTimer::Sample() { in Sample()
86 UsageTimer::Result UsageTimer::Mark() const { in Mark()
Dserver.h43 : timer_(new UsageTimer), last_reset_poll_count_(0) { in Server()
54 UsageTimer::Result timer_result; in Mark()
58 std::unique_ptr<UsageTimer> timer(new UsageTimer); in Mark()
148 std::unique_ptr<UsageTimer> timer_;
Dclient_sync.cc128 double start = UsageTimer::Now(); in ThreadFuncImpl()
134 entry->set_value((UsageTimer::Now() - start) * 1e9); in ThreadFuncImpl()
248 double start = UsageTimer::Now(); in ThreadFuncImpl()
251 entry->set_value((UsageTimer::Now() - start) * 1e9); in ThreadFuncImpl()
299 last_issue_[thread_idx] = UsageTimer::Now(); in InitThreadFuncImpl()
310 double now = UsageTimer::Now(); in ThreadFuncImpl()
349 last_recv_[thread_idx] = UsageTimer::Now(); in InitThreadFuncImpl()
356 double now = UsageTimer::Now(); in ThreadFuncImpl()
Dusage_timer.h22 class UsageTimer {
24 UsageTimer();
Dclient.h143 : timer_(new UsageTimer), in Client()
154 UsageTimer::Result timer_result; in Mark()
167 std::unique_ptr<UsageTimer> timer(new UsageTimer); in Mark()
332 double now = UsageTimer::Now(); in UpdateHistogram()
388 std::unique_ptr<UsageTimer> timer_;
Dclient_async.cc92 start_ = UsageTimer::Now(); in RunNextState()
101 entry->set_value((UsageTimer::Now() - start_) * 1e9); in RunNextState()
379 start_ = UsageTimer::Now(); in RunNextState()
397 entry->set_value((UsageTimer::Now() - start_) * 1e9); in RunNextState()
564 start_ = UsageTimer::Now(); in RunNextState()
572 entry->set_value((UsageTimer::Now() - start_) * 1e9); in RunNextState()
683 start_ = UsageTimer::Now(); in RunNextState()
691 entry->set_value((UsageTimer::Now() - start_) * 1e9); in RunNextState()
809 start_ = UsageTimer::Now(); in RunNextState()
822 entry->set_value((UsageTimer::Now() - start_) * 1e9); in RunNextState()