Searched refs:TaskSourceSortKey (Results 1 – 14 of 14) sorted by relevance
16 class BASE_EXPORT TaskSourceSortKey final {18 TaskSourceSortKey() = default;19 TaskSourceSortKey(TaskPriority priority,28 bool operator<(const TaskSourceSortKey& other) const;30 bool operator==(const TaskSourceSortKey& other) const {35 bool operator!=(const TaskSourceSortKey& other) const {
10 static_assert(sizeof(TaskSourceSortKey) <= 2 * sizeof(uint64_t),13 TaskSourceSortKey::TaskSourceSortKey(TaskPriority priority, in TaskSourceSortKey() function in base::internal::TaskSourceSortKey20 bool TaskSourceSortKey::operator<(const TaskSourceSortKey& other) const { in operator <()
24 const TaskSourceSortKey& sort_key) in TaskSourceAndSortKey()78 const TaskSourceSortKey& sort_key() const { return sort_key_; } in sort_key()82 TaskSourceSortKey sort_key_;103 TaskSourceSortKey task_source_sort_key) { in Push()109 const TaskSourceSortKey& PriorityQueue::PeekSortKey() const { in PeekSortKey()163 TaskSourceSortKey sort_key) { in UpdateSortKey()
34 TaskSourceSortKey task_source_sort_key);40 const TaskSourceSortKey& PeekSortKey() const;60 void UpdateSortKey(const TaskSource& task_source, TaskSourceSortKey sort_key);
64 TaskSourceSortKey sort_key_a = sequence_a->GetSortKey();68 TaskSourceSortKey sort_key_b = sequence_b->GetSortKey();72 TaskSourceSortKey sort_key_c = sequence_c->GetSortKey();76 TaskSourceSortKey sort_key_d = sequence_d->GetSortKey();
390 TaskSourceSortKey top_sort_key = new_priority_queue->PeekSortKey(); in EnqueueAllTaskSources()399 TaskSourceSortKey top_sort_key; in HandoffAllTaskSourcesToOtherThreadGroup()410 TaskSourceSortKey top_sort_key; in HandoffNonUserBlockingTaskSourcesToOtherThreadGroup()424 bool ThreadGroup::ShouldYield(TaskSourceSortKey sort_key) { in ShouldYield()
290 TaskSourceSortKey Sequence::GetSortKey() const { in GetSortKey()291 return TaskSourceSortKey( in GetSortKey()
392 TaskSourceSortKey JobTaskSource::GetSortKey() const { in GetSortKey()393 return TaskSourceSortKey(priority_racy(), ready_time_, in GetSortKey()
19 const TaskSourceSortKey kTestKeys[] = {
100 TaskSourceSortKey GetSortKey() const override;
78 TaskSourceSortKey GetSortKey() const override;
154 const TaskSourceSortKey best_effort_sort_key = in TEST()189 const TaskSourceSortKey foreground_sort_key = in TEST()
179 virtual TaskSourceSortKey GetSortKey() const = 0;
141 bool ShouldYield(TaskSourceSortKey sort_key);