Searched refs:timeSlice (Results 1 – 10 of 10) sorted by relevance
98 taskCB->timeSlice -= incTime; in HPFTimeSliceUpdate()108 if (taskCB->timeSlice <= OS_TIME_SLICE_MIN) { in HPFTimeSliceUpdate()120 INT32 timeSlice = taskCB->timeSlice; in HPFTimeSliceGet() local122 timeSlice = (timeSlice <= OS_TIME_SLICE_MIN) ? sched->initTimeSlice : timeSlice; in HPFTimeSliceGet()123 return (taskCB->startTime + timeSlice); in HPFTimeSliceGet()214 if (taskCB->timeSlice > OS_TIME_SLICE_MIN) { in PriQueInsert()218 taskCB->timeSlice = sched->initTimeSlice; in PriQueInsert()229 … if ((taskCB->timeSlice > OS_TIME_SLICE_MIN) && (taskCB->taskStatus & OS_TASK_STATUS_RUNNING)) { in PriQueInsert()233 taskCB->timeSlice = sched->initTimeSlice; in PriQueInsert()290 runTask->timeSlice = 0; in HPFYield()[all …]
85 if (taskCB->timeSlice <= 0) { in EDFTimeSliceUpdate()98 taskCB->timeSlice -= incTime; in EDFTimeSliceUpdate()102 if ((sched->finishTime > currTime) && (taskCB->timeSlice > 0)) { in EDFTimeSliceUpdate()112 taskCB->timeSlice = 0; in EDFTimeSliceUpdate()121 UINT64 endTime = taskCB->startTime + taskCB->timeSlice; in EDFTimeSliceGet()152 if (taskCB->timeSlice <= 0) { in EDFEnqueue()197 taskCB->timeSlice = sched->runTime; in EDFEnqueue()230 runTask->timeSlice = 0; in EDFYield()302 taskCB->timeSlice = 0; in EDFSchedParamModify()379 taskCB->timeSlice = 0; in EDFTaskSchedParamInit()
103 STATIC VOID SchedDataGet(const LosTaskCB *taskCB, UINT64 *runTime, UINT64 *timeSlice, in SchedDataGet() argument113 *timeSlice = (averTimeSlice * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in SchedDataGet()217 if (taskCB->timeSlice <= 0) { in EDFDebugRecord()221 g_edfNode[g_edfNodePointer].timeSliceUnused = taskCB->timeSlice; in EDFDebugRecord()241 UINT64 timeSlice; in EDFInfoPrint() local250 timeSlice = OS_SYS_CYCLE_TO_US(g_edfNode[idx].timeSliceUnused); in EDFInfoPrint()260 if (timeSlice > 0) { in EDFInfoPrint()271 timeSlice, pendTime, status); in EDFInfoPrint()
154 param->timeSlice = 0; in IdleSchedParamGet()185 taskCB->timeSlice = sched->initTimeSlice; in IdleTaskSchedParamInit()
109 if (taskCB->timeSlice >= 0) { in SchedTimeoutTaskWake()113 taskCB->timeSlice = 0; in SchedTimeoutTaskWake()
82 taskCB->timeSlice -= incTime; in OsTimeSliceUpdate()133 …INT32 timeSlice = (runTask->timeSlice <= g_schedTimeSliceMin) ? g_schedTimeSlice : runTask->timeSl… in OsSchedUpdateExpireTime() local134 endTime = runTask->startTime + timeSlice; in OsSchedUpdateExpireTime()229 if (taskCB->timeSlice > g_schedTimeSliceMin) { in OsSchedTaskEnQueue()232 taskCB->timeSlice = g_schedTimeSlice; in OsSchedTaskEnQueue()275 runTask->timeSlice = 0; in OsSchedYield()430 if (taskCB->timeSlice > 0) { in TaskSchedTimeConvertFreq()431 … taskCB->timeSlice = (INT32)OsTimeConvertFreq((UINT64)taskCB->timeSlice, oldFreq, g_sysClock); in TaskSchedTimeConvertFreq()433 taskCB->timeSlice = 0; in TaskSchedTimeConvertFreq()518 OsSchedSetNextExpireTime(newTask->taskID, newTask->startTime + newTask->timeSlice); in OsSchedStart()[all …]
725 taskCB->timeSlice = 0; in OsNewTaskInit()
357 time_t timeSlice = 0; in SysSchedRRGetInterval() local387 timeSlice += param.timeSlice; in SysSchedRRGetInterval()394 timeSlice = timeSlice * OS_NS_PER_CYCLE; in SysSchedRRGetInterval()395 tv.tv_sec = timeSlice / OS_SYS_NS_PER_SECOND; in SysSchedRRGetInterval()396 tv.tv_nsec = timeSlice % OS_SYS_NS_PER_SECOND; in SysSchedRRGetInterval()
237 UINT32 timeSlice; member404 INT32 timeSlice; /**< Task remaining time slice */ member
1479 INT32 timeSlice; member