Searched refs:threadData (Results 1 – 7 of 7) sorted by relevance
35 has_cache_expired(const ThreadData* threadData) in has_cache_expired() argument38 if (threadData->WentSleepActive() == 0) in has_cache_expired()40 CoreEntry* core = threadData->Core(); in has_cache_expired()42 return activeTime - threadData->WentSleepActive() > kCacheExpire; in has_cache_expired()47 choose_core(const ThreadData* threadData) in choose_core() argument59 CPUSet mask = threadData->GetCPUMask(); in choose_core()89 rebalance(const ThreadData* threadData) in rebalance() argument93 CoreEntry* core = threadData->Core(); in rebalance()98 CPUSet mask = threadData->GetCPUMask(); in rebalance()130 int32 threadLoad = threadData->GetLoad() / core->CPUCount(); in rebalance()
41 has_cache_expired(const ThreadData* threadData) in has_cache_expired() argument44 if (threadData->WentSleep() == 0) in has_cache_expired()46 return system_time() - threadData->WentSleep() > kCacheExpire; in has_cache_expired()85 choose_core(const ThreadData* threadData) in choose_core() argument91 CPUSet mask = threadData->GetCPUMask(); in choose_core()99 if (core == NULL || core->GetLoad() + threadData->GetLoad() >= kHighLoad) { in choose_core()130 rebalance(const ThreadData* threadData) in rebalance() argument136 CPUSet mask = threadData->GetCPUMask(); in rebalance()139 CoreEntry* core = threadData->Core(); in rebalance()142 int32 threadLoad = threadData->GetLoad() / core->CPUCount(); in rebalance()
100 ThreadData* threadData = thread->scheduler_data; in enqueue() local102 int32 threadPriority = threadData->GetEffectivePriority(); in enqueue()109 ASSERT(threadData->Core() != NULL); in enqueue()113 } else if (threadData->Core() != NULL in enqueue()114 && (!newOne || !threadData->HasCacheExpired())) { in enqueue()115 targetCore = threadData->Rebalance(); in enqueue()118 const bool rescheduleNeeded = threadData->ChooseCoreAndCPU(targetCore, targetCPU); in enqueue()124 threadData->Enqueue(wasRunQueueEmpty); in enqueue()159 ThreadData* threadData = thread->scheduler_data; in scheduler_enqueue_in_run_queue() local161 if (threadData->ShouldCancelPenalty()) in scheduler_enqueue_in_run_queue()[all …]
25 const Scheduler::ThreadData* threadData);27 const Scheduler::ThreadData* threadData);29 const Scheduler::ThreadData* threadData);
68 ThreadData* threadData = iterator.Next(); in Dump() local69 Thread* thread = threadData->GetThread(); in Dump()73 thread->priority - threadData->GetEffectivePriority(), in Dump()320 CPUEntry::_RequestPerformanceLevel(ThreadData* threadData) in _RequestPerformanceLevel() argument329 int32 load = std::max(threadData->GetLoad(), fCore->GetLoad()); in _RequestPerformanceLevel()332 threadData->GetLoad(), fCore->GetLoad()); in _RequestPerformanceLevel()514 ThreadData* threadData = fRunQueue.PeekMaximum(); in RemoveCPU() local516 Remove(threadData); in RemoveCPU()518 ASSERT(threadData->Core() == NULL); in RemoveCPU()519 threadPostProcessing(threadData); in RemoveCPU()[all …]
93 ThreadData* threadData);
496 AuthenticateSetupThreadData* threadData = new AuthenticateSetupThreadData(); in _Authenticate() local498 threadData->window = this; in _Authenticate()499 threadData->credentials = new UserCredentials(credentials); in _Authenticate()502 "Authentication", B_NORMAL_PRIORITY, threadData); in _Authenticate()511 AuthenticateSetupThreadData* threadData in _AuthenticateThreadEntry() local513 threadData->window->_AuthenticateThread(*(threadData->credentials)); in _AuthenticateThreadEntry()514 threadData->window->_SetWorkerThreadLocked(-1); in _AuthenticateThreadEntry()515 delete threadData->credentials; in _AuthenticateThreadEntry()516 delete threadData; in _AuthenticateThreadEntry()723 CreateAccountSetupThreadData* threadData = new CreateAccountSetupThreadData; in _CreateAccountSetup() local[all …]