Home
last modified time | relevance | path

Searched refs:schedStat (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_a/kernel/base/sched/
Dlos_statistics.c106 if (taskCB->schedStat.switchCount >= 1) { in SchedDataGet()
107 UINT64 averRunTime = taskCB->schedStat.runTime / taskCB->schedStat.switchCount; in SchedDataGet()
111 if (taskCB->schedStat.timeSliceCount > 1) { in SchedDataGet()
112 … UINT64 averTimeSlice = taskCB->schedStat.timeSliceTime / (taskCB->schedStat.timeSliceCount - 1); in SchedDataGet()
116 if (taskCB->schedStat.pendCount > 1) { in SchedDataGet()
117 UINT64 averPendTime = taskCB->schedStat.pendTime / taskCB->schedStat.pendCount; in SchedDataGet()
121 if (taskCB->schedStat.waitSchedCount > 0) { in SchedDataGet()
122 UINT64 averSchedWait = taskCB->schedStat.waitSchedTime / taskCB->schedStat.waitSchedCount; in SchedDataGet()
172 averRunTime, taskCB->schedStat.switchCount, in OsShellShowSchedStatistics()
173 averTimeSlice, taskCB->schedStat.timeSliceCount - 1, in OsShellShowSchedStatistics()
[all …]
Dlos_sched.c133 taskCB->schedStat.pendTime += currTime - taskCB->startTime; in SchedTimeoutTaskWake()
134 taskCB->schedStat.pendCount++; in SchedTimeoutTaskWake()
436 newTask->schedStat.waitSchedTime += newTask->startTime - waitStartTime; in SchedTaskSwitch()
437 newTask->schedStat.waitSchedCount++; in SchedTaskSwitch()
438 runTask->schedStat.runTime = runTask->schedStat.allRuntime; in SchedTaskSwitch()
439 runTask->schedStat.switchCount++; in SchedTaskSwitch()
Dlos_deadline.c94 taskCB->schedStat.timeSliceRealTime += incTime; in EDFTimeSliceUpdate()
95 taskCB->schedStat.allRuntime += (currTime - taskCB->startTime); in EDFTimeSliceUpdate()
186 taskCB->schedStat.allRuntime = 0; in EDFEnqueue()
187 taskCB->schedStat.timeSliceRealTime = 0; in EDFEnqueue()
188 taskCB->schedStat.pendTime = 0; in EDFEnqueue()
290 resumedTask->schedStat.pendTime += OsGetCurrSchedTimeCycle() - resumedTask->startTime; in EDFWake()
291 resumedTask->schedStat.pendCount++; in EDFWake()
Dlos_priority.c100 taskCB->schedStat.timeSliceRealTime += incTime; in HPFTimeSliceUpdate()
113 taskCB->schedStat.allRuntime += incTime; in HPFTimeSliceUpdate()
221 taskCB->schedStat.timeSliceTime = taskCB->schedStat.timeSliceRealTime; in PriQueInsert()
222 taskCB->schedStat.timeSliceCount++; in PriQueInsert()
345 resumedTask->schedStat.pendTime += OsGetCurrSchedTimeCycle() - resumedTask->startTime; in HPFWake()
346 resumedTask->schedStat.pendCount++; in HPFWake()
Dlos_idle.c129 resumedTask->schedStat.pendTime += OsGetCurrSchedTimeCycle() - resumedTask->startTime; in IdleWake()
130 resumedTask->schedStat.pendCount++; in IdleWake()
/kernel/liteos_a/kernel/base/include/
Dlos_sched_pri.h440 SchedStat schedStat; /**< Schedule statistics */ member