Home
last modified time | relevance | path

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

/haiku/src/system/kernel/scheduler/
H A Dscheduler_thread.h21 struct ThreadData : public DoublyLinkedListLinkImpl<ThreadData>, struct
22 RunQueueLinkImpl<ThreadData> {
33 ThreadData(Thread* thread);
139 virtual void operator()(ThreadData* thread) = 0; argument
144 ThreadData::_GetMinimalPriority() const in _GetMinimalPriority()
159 ThreadData::IsRealTime() const in IsRealTime()
166 ThreadData::IsIdle() const in IsIdle()
173 ThreadData::HasCacheExpired() const in HasCacheExpired()
181 ThreadData::Rebalance() const in Rebalance()
191 ThreadData::GetEffectivePriority() const in GetEffectivePriority()
[all …]
H A Dscheduler_thread.cpp19 ThreadData::_InitBase() in _InitBase()
46 ThreadData::_ChooseCore() const in _ChooseCore()
56 ThreadData::_ChooseCPU(CoreEntry* core, bool& rescheduleNeeded) const in _ChooseCPU()
98 ThreadData::ThreadData(Thread* thread) in ThreadData() function in ThreadData
106 ThreadData::Init() in Init()
112 ThreadData* currentThreadData = currentThread->scheduler_data; in Init()
126 ThreadData::Init(CoreEntry* core) in Init()
137 ThreadData::Dump() const in Dump()
162 ThreadData::ChooseCoreAndCPU(CoreEntry*& targetCore, CPUEntry*& targetCPU) in ChooseCoreAndCPU()
204 ThreadData::ComputeQuantum() const in ComputeQuantum()
[all …]
H A Dscheduler_cpu.h30 struct ThreadData;
41 class ThreadRunQueue : public RunQueue<ThreadData, THREAD_MAX_SET_PRIORITY> {
67 void PushFront(ThreadData* thread,
69 void PushBack(ThreadData* thread,
71 void Remove(ThreadData* thread);
72 ThreadData* PeekThread() const;
73 ThreadData* PeekIdleThread() const;
80 ThreadData* ChooseNextThread(ThreadData* oldThread,
83 void TrackActivity(ThreadData* oldThreadData,
84 ThreadData* nextThreadData);
[all …]
H A Dscheduler_modes.h25 const Scheduler::ThreadData* threadData);
27 const Scheduler::ThreadData* threadData);
29 const Scheduler::ThreadData* threadData);
H A Dscheduler_cpu.cpp68 ThreadData* threadData = iterator.Next(); in Dump()
130 CPUEntry::PushFront(ThreadData* thread, int32 priority) in PushFront()
138 CPUEntry::PushBack(ThreadData* thread, int32 priority) in PushBack()
146 CPUEntry::Remove(ThreadData* thread) in Remove()
155 ThreadData*
163 ThreadData*
171 ThreadData*
217 ThreadData*
218 CPUEntry::ChooseNextThread(ThreadData* oldThread, bool putAtBack) in ChooseNextThread()
228 ThreadData* pinnedThread = fRunQueue.PeekMaximum(); in ChooseNextThread()
[all …]
H A Dscheduler.cpp46 void operator()(ThreadData* thread);
82 ThreadEnqueuer::operator()(ThreadData* thread) in operator ()()
100 ThreadData* threadData = thread->scheduler_data; in enqueue()
159 ThreadData* threadData = thread->scheduler_data; in scheduler_enqueue_in_run_queue()
180 ThreadData* threadData = thread->scheduler_data; in scheduler_set_thread_priority()
330 ThreadData* oldThreadData = oldThread->scheduler_data; in reschedule()
388 ThreadData* nextThreadData; in reschedule()
502 thread->scheduler_data = new(std::nothrow) ThreadData(thread); in scheduler_on_thread_create()
563 ThreadData::ComputeQuantumLengths(); in scheduler_set_operation_mode()
839 ThreadData* threadData = thread->scheduler_data; in _user_estimate_max_scheduling_latency()
H A Dlow_latency.cpp35 has_cache_expired(const ThreadData* threadData) in has_cache_expired()
47 choose_core(const ThreadData* threadData) in choose_core()
89 rebalance(const ThreadData* threadData) in rebalance()
H A Dpower_saving.cpp41 has_cache_expired(const ThreadData* threadData) in has_cache_expired()
85 choose_core(const ThreadData* threadData) in choose_core()
130 rebalance(const ThreadData* threadData) in rebalance()
/haiku/headers/private/kernel/
H A Dthread_types.h72 struct ThreadData;
475 Scheduler::ThreadData* scheduler_data; // protected by scheduler lock