Searched refs:OsCalculateCpupUsage (Results 1 – 1 of 1) sorted by relevance
/kernel/liteos_a/kernel/extended/cpup/ |
D | los_cpup.c | 314 STATIC INLINE UINT32 OsCalculateCpupUsage(const OsCpupBase *cpup, UINT16 pos, UINT16 prePos, UINT64… in OsCalculateCpupUsage() function 342 return (LOS_CPUP_PRECISION - OsCalculateCpupUsage(processCpup, pos, prePos, cpuAllCycle)); in OsHistorySysCpuUsageUnsafe() 383 return OsCalculateCpupUsage(processCB->processCpup, pos, prePos, cpuAllCycle); in OsHistoryProcessCpuUsageUnsafe() 419 return OsCalculateCpupUsage(&taskCB->taskCpup, pos, prePos, cpuAllCycle); in OsHistoryTaskCpuUsageUnsafe() 469 …cpupInfo[processID].usage = OsCalculateCpupUsage(processCB->processCpup, pos, prePos, cpuAllCycle); in OsGetAllProcessCpuUsageUnsafe() 512 taskCpup[taskID].usage = OsCalculateCpupUsage(&taskCB->taskCpup, pos, prePos, cpuAllCycle); in OsGetAllProcessAndTaskCpuUsageUnsafe() 517 …processCpup[taskCB->processID].usage = OsCalculateCpupUsage(processCpupBase, pos, prePos, cpuAllCy… in OsGetAllProcessAndTaskCpuUsageUnsafe() 590 … cpupInfo[loop].usage = OsCalculateCpupUsage(&g_irqCpup[loop].cpup, pos, prePos, cpuAllCycle); in OsGetAllIrqCpuUsageUnsafe()
|