MCPcopy Create free account
hub / github.com/apache/brpc / GetNumberOfCompletedTasks

Method GetNumberOfCompletedTasks

test/condition_variable_unittest.cc:606–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606int WorkQueue::GetNumberOfCompletedTasks() const {
607 int total = 0;
608 for (int i = 0; i < thread_count_; ++i)
609 total += completion_history_[i];
610 return total;
611}
612
613void WorkQueue::SetWorkTime(TimeDelta delay) {
614 worker_delay_ = delay;

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected