Home
last modified time | relevance | path

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

/external/libchrome/base/task/sequence_manager/
Dwork_queue_sets.cc14 : work_queue_heaps_(num_sets), name_(name) {} in WorkQueueSets()
20 DCHECK_LT(set_index, work_queue_heaps_.size()); in AddQueue()
27 work_queue_heaps_[set_index].insert({enqueue_order, work_queue}); in AddQueue()
37 DCHECK_LT(set_index, work_queue_heaps_.size()); in RemoveQueue()
38 work_queue_heaps_[set_index].erase(heap_handle); in RemoveQueue()
43 DCHECK_LT(set_index, work_queue_heaps_.size()); in ChangeSetIndex()
47 DCHECK_LT(old_set, work_queue_heaps_.size()); in ChangeSetIndex()
52 work_queue_heaps_[old_set].erase(work_queue->heap_handle()); in ChangeSetIndex()
53 work_queue_heaps_[set_index].insert({enqueue_order, work_queue}); in ChangeSetIndex()
61 work_queue_heaps_[set].ChangeKey(work_queue->heap_handle(), in OnFrontTaskChanged()
[all …]
Dwork_queue_sets.h92 std::vector<IntrusiveHeap<OldestTaskEnqueueOrder>> work_queue_heaps_; variable