Searched refs:IDLE_TASK_ID (Results 1 – 7 of 7) sorted by relevance
172 … OsMcCpupSet(OsGetHwThreadId(), (U32)(CPUP_USE_RATE - g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].usage)); in OsCpupTickCal()216 cpup = (U32)(CPUP_USE_RATE - g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].usage); in OsCpupThreadNow()232 …cpup = (U32)(CPUP_USE_RATE - DIV64(CPUP_USE_RATE * g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].allTime, cp… in OsCpupThreadNow()307 …(U32)DIV64(CPUP_USE_RATE * (cpuCycleAll - g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].allTime), cpuCycleAl… in PRT_CpupThread()
28 return (U32)(CPUP_USE_RATE - g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].usage); in OsCpupGet()
25 if (taskPid == IDLE_TASK_ID) { in PRT_TaskSuspend()
49 if (taskPid == IDLE_TASK_ID) { in OsTaskDelete()
60 if (taskPid == IDLE_TASK_ID) { in OsTaskPrioritySetCheck()
101 IDLE_TASK_ID = taskHdl; in OsIdleTskAMPCreate()
142 #define IDLE_TASK_ID g_idleTaskId macro