Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/sched/
Dlos_priority.c124 UINT32 readyTasks; in TimeSliceCalculate() local
127 readyTasks = queueList->readyTasks[priority]; in TimeSliceCalculate()
128 if (readyTasks > OS_SCHED_READY_MAX) { in TimeSliceCalculate()
131 time = ((OS_SCHED_READY_MAX - readyTasks) * OS_SCHED_TIME_SLICES_DIFF) / OS_SCHED_READY_MAX; in TimeSliceCalculate()
157 queueList->readyTasks[priority]++; in PriQueHeadInsert()
182 queueList->readyTasks[priority]++; in PriQueTailInsert()
192 queueList->readyTasks[priority]--; in PriQueDelete()
/kernel/liteos_a/kernel/base/include/
Dlos_sched_pri.h89 UINT32 readyTasks[OS_PRIORITY_QUEUE_NUM]; member