Home
last modified time | relevance | path

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

/haiku/src/system/kernel/scheduler/
H A Dpower_saving.cpp142 int32 threadLoad = threadData->GetLoad() / core->CPUCount(); in rebalance() local
148 if (threadLoad > coreLoad / 3 || smallTaskCore == NULL in rebalance()
155 if (threadLoad >= coreLoad / 2) in rebalance()
173 int32 coreNewLoad = coreLoad - threadLoad; in rebalance()
174 int32 otherNewLoad = other->GetLoad() + threadLoad; in rebalance()
184 return smallTaskCore->GetLoad() + threadLoad < kHighLoad in rebalance()
H A Dlow_latency.cpp130 int32 threadLoad = threadData->GetLoad() / core->CPUCount(); in rebalance() local
131 return difference >= threadLoad ? other : core; in rebalance()