Searched refs:timeSlice (Results 1 – 8 of 8) sorted by relevance
96 taskCB->timeSlice -= incTime; in HPFTimeSliceUpdate()103 if (taskCB->timeSlice <= OS_TIME_SLICE_MIN) { in HPFTimeSliceUpdate()115 INT32 timeSlice = taskCB->timeSlice; in HPFTimeSliceGet() local117 timeSlice = (timeSlice <= OS_TIME_SLICE_MIN) ? sched->initTimeSlice : timeSlice; in HPFTimeSliceGet()118 return (taskCB->startTime + timeSlice); in HPFTimeSliceGet()209 if (taskCB->timeSlice > OS_TIME_SLICE_MIN) { in PriQueInsert()213 taskCB->timeSlice = sched->initTimeSlice; in PriQueInsert()224 … if ((taskCB->timeSlice > OS_TIME_SLICE_MIN) && (taskCB->taskStatus & OS_TASK_STATUS_RUNNING)) { in PriQueInsert()228 taskCB->timeSlice = sched->initTimeSlice; in PriQueInsert()285 runTask->timeSlice = 0; in HPFYield()[all …]
102 STATIC VOID SchedDataGet(const LosTaskCB *taskCB, UINT64 *runTime, UINT64 *timeSlice, in SchedDataGet() argument112 *timeSlice = (averTimeSlice * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US; in SchedDataGet()
153 param->timeSlice = 0; in IdleSchedParamGet()184 taskCB->timeSlice = sched->initTimeSlice; in IdleTaskSchedParamInit()
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 …]
711 taskCB->timeSlice = 0; in OsNewTaskInit()
257 time_t timeSlice = 0; in SysSchedRRGetInterval() local287 timeSlice += param.timeSlice; in SysSchedRRGetInterval()294 timeSlice = timeSlice * OS_NS_PER_CYCLE; in SysSchedRRGetInterval()295 tv.tv_sec = timeSlice / OS_SYS_NS_PER_SECOND; in SysSchedRRGetInterval()296 tv.tv_nsec = timeSlice % OS_SYS_NS_PER_SECOND; in SysSchedRRGetInterval()
221 UINT32 timeSlice; member367 INT32 timeSlice; /**< Task remaining time slice */ member
1479 INT32 timeSlice; member