Home
last modified time | relevance | path

Searched refs:cpuAllCycle (Results 1 – 1 of 1) sorted by relevance

/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c327 UINT64 cpuAllCycle; in OsHistorySysCpuUsageUnsafe() local
338 cpuAllCycle = cpuHistoryTime[pos] - cpuHistoryTime[prePos]; in OsHistorySysCpuUsageUnsafe()
342 return (LOS_CPUP_PRECISION - OsCalculateCpupUsage(processCpup, pos, prePos, cpuAllCycle)); in OsHistorySysCpuUsageUnsafe()
360 UINT64 cpuAllCycle; in OsHistoryProcessCpuUsageUnsafe() local
381 cpuAllCycle = cpuHistoryTime[pos] - cpuHistoryTime[prePos]; in OsHistoryProcessCpuUsageUnsafe()
383 return OsCalculateCpupUsage(processCB->processCpup, pos, prePos, cpuAllCycle); in OsHistoryProcessCpuUsageUnsafe()
400 UINT64 cpuAllCycle; in OsHistoryTaskCpuUsageUnsafe() local
417 cpuAllCycle = cpuHistoryTime[pos] - cpuHistoryTime[prePos]; in OsHistoryTaskCpuUsageUnsafe()
419 return OsCalculateCpupUsage(&taskCB->taskCpup, pos, prePos, cpuAllCycle); in OsHistoryTaskCpuUsageUnsafe()
450 UINT64 cpuAllCycle; in OsGetAllProcessCpuUsageUnsafe() local
[all …]