Lines Matching refs:maxNum
94 U32 maxNum = 0; in OsCpupTask() local
95 cpup[maxNum].id = OS_CPUP_INT_ID; in OsCpupTask()
96 cpup[maxNum].usage = OsCpupIntGet(); in OsCpupTask()
97 maxNum++; in OsCpupTask()
100 if (intNum == maxNum) { in OsCpupTask()
109 cpup[maxNum].id = g_tskCbArray[index].taskPid; in OsCpupTask()
110 cpup[maxNum].usage = g_cpup[index].usage; in OsCpupTask()
112 maxNum++; in OsCpupTask()
114 return maxNum; in OsCpupTask()
250 U32 maxNum = 1; // 默认中断占用一个 in PRT_CpupThread() local
270 maxNum = OsCpupTask(inNum, cpup); in PRT_CpupThread()
272 *outNum = maxNum; in PRT_CpupThread()
292 for (index = 0; index < (OS_MAX_TCB_NUM - 1) && maxNum < inNum; index++) { in PRT_CpupThread()
300 cpup[maxNum].id = g_tskCbArray[index].taskPid; in PRT_CpupThread()
301 cpup[maxNum].usage = (U16)DIV64(CPUP_USE_RATE * allTime, cpuCycleAll); in PRT_CpupThread()
303 maxNum++; in PRT_CpupThread()
312 *outNum = maxNum; in PRT_CpupThread()