Home
last modified time | relevance | path

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

/external/libchrome/base/synchronization/
Dcondition_variable_unittest.cc138 std::vector<int> completion_history_; // Number of completions per worker. member in base::__anon414633000111::WorkQueue
503 completion_history_(thread_count), in WorkQueue()
557 completion_history_[thread_id]++; in WorkIsCompleted()
615 completion_history_[i] = 0; in ResetHistory()
620 int minumum = completion_history_[0]; in GetMinCompletionsByWorkerThread()
622 minumum = std::min(minumum, completion_history_[i]); in GetMinCompletionsByWorkerThread()
627 int maximum = completion_history_[0]; in GetMaxCompletionsByWorkerThread()
629 maximum = std::max(maximum, completion_history_[i]); in GetMaxCompletionsByWorkerThread()
644 if (completion_history_[i]) in GetNumThreadsCompletingTasks()
652 total += completion_history_[i]; in GetNumberOfCompletedTasks()