Home
last modified time | relevance | path

Searched refs:idleCycleAll (Results 1 - 1 of 1) sorted by relevance

/kernel/liteos_m/components/cpup/
H A Dlos_cpup.c352 UINT64 idleCycleAll = 0; in LOS_HistorySysCpuUsage() local
378 idleCycleAll += g_cpup[g_idleTaskID].historyTime[curPos] - in LOS_HistorySysCpuUsage()
381 idleCycleAll += g_cpup[g_idleTaskID].allTime - g_cpup[g_idleTaskID].historyTime[curPos]; in LOS_HistorySysCpuUsage()
385 cpupRet = (LOS_CPUP_PRECISION - (UINT32)((LOS_CPUP_PRECISION * idleCycleAll) / cpuTimeAll)); in LOS_HistorySysCpuUsage()

Completed in 2 milliseconds