Home
last modified time | relevance | path

Searched refs:finishTime (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/kernel/base/sched/
Dlos_deadline.c102 if ((sched->finishTime > currTime) && (taskCB->timeSlice > 0)) { in EDFTimeSliceUpdate()
107 if (sched->finishTime <= currTime) { in EDFTimeSliceUpdate()
109 EDFDebugRecord((UINTPTR *)taskCB, sched->finishTime); in EDFTimeSliceUpdate()
122 return (endTime > sched->finishTime) ? sched->finishTime : endTime; in EDFTimeSliceGet()
154 UINT64 oldFinish = sched->finishTime; in EDFEnqueue()
158 sched->finishTime = currTime; in EDFEnqueue()
161 sched->finishTime = (sched->finishTime - sched->deadline) + sched->period; in EDFEnqueue()
167 UINT64 finishTime = sched->finishTime + sched->deadline; in EDFEnqueue() local
168 if ((finishTime <= currTime) || ((sched->finishTime + sched->runTime) > finishTime)) { in EDFEnqueue()
170 sched->finishTime += sched->period; in EDFEnqueue()
[all …]
Dlos_statistics.c189 UINT64 finishTime; member
223 g_edfNode[g_edfNodePointer].finishTime = oldFinish; in EDFDebugRecord()
224 g_edfNode[g_edfNodePointer].nextfinishTime = sched->finishTime; in EDFDebugRecord()
242 UINT64 finishTime; in EDFInfoPrint() local
251 finishTime = OS_SYS_CYCLE_TO_US(g_edfNode[idx].finishTime); in EDFInfoPrint()
262 } else if (nextfinishTime == finishTime) { in EDFInfoPrint()
270 startTime, finishTime, nextfinishTime, allRuntime, timeSliceRealTime, in EDFInfoPrint()
309 UINT64 finishTime; in OsShellShowEdfSchedStatistics() local
332 finishTime = OS_SYS_CYCLE_TO_US(sched->finishTime); in OsShellShowEdfSchedStatistics()
337 task.taskID, curTime, deadline, finishTime, task.taskName); in OsShellShowEdfSchedStatistics()
Dlos_sched.c108 if (sched->finishTime <= currTime) { in SchedTimeoutTaskWake()
111 … taskCB->taskID, taskCB->taskName, OS_SYS_CYCLE_TO_US(currTime - sched->finishTime)); in SchedTimeoutTaskWake()
/kernel/liteos_a/kernel/base/include/
Dlos_sched_pri.h264 UINT64 finishTime; /* startTime + deadline */ member