Searched refs:cpuTimeCurTsk (Results 1 – 1 of 1) sorted by relevance
450 UINT64 cpuTimeCurTsk = 0; in LOS_HistoryTaskCpuUsage() local487 cpuTimeCurTsk += g_cpup[taskID].historyTime[curPos] - g_cpup[taskID].historyTime[prePos]; in LOS_HistoryTaskCpuUsage()489 cpuTimeCurTsk += g_cpup[taskID].allTime - g_cpup[taskID].historyTime[curPos]; in LOS_HistoryTaskCpuUsage()492 cpupRet = (UINT32)((LOS_CPUP_PRECISION * cpuTimeCurTsk) / cpuTimeAll); in LOS_HistoryTaskCpuUsage()508 UINT64 cpuTimeCurTsk = 0; in LOS_AllTaskCpuUsage() local543 … cpuTimeCurTsk += g_cpup[loopNum].historyTime[curPos] - g_cpup[loopNum].historyTime[prePos]; in LOS_AllTaskCpuUsage()545 cpuTimeCurTsk += g_cpup[loopNum].allTime - g_cpup[loopNum].historyTime[curPos]; in LOS_AllTaskCpuUsage()549 cpupInfo[loopNum].uwUsage = (UINT32)((LOS_CPUP_PRECISION * cpuTimeCurTsk) / cpuTimeAll); in LOS_AllTaskCpuUsage()552 cpuTimeCurTsk = 0; in LOS_AllTaskCpuUsage()