Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c256 UINT64 cpuCycle, cycleIncrement; in OsCpupCycleEndStart() local
263 cpuCycle = OsGetCpuCycle(); in OsCpupCycleEndStart()
265 cycleIncrement = cpuCycle - runTaskCpup->startTime; in OsCpupCycleEndStart()
277 newTaskCpup->startTime = cpuCycle; in OsCpupCycleEndStart()
317 UINT64 cpuCycle = cpup->historyTime[pos] - cpup->historyTime[prePos]; in OsCalculateCpupUsage() local
320 usage = (UINT32)((LOS_CPUP_SINGLE_CORE_PRECISION * cpuCycle) / allCycle); in OsCalculateCpupUsage()
/kernel/liteos_a/testsuites/kernel/src/
DosTest.c147 UINT64 cpuCycle; in TRandom() local
151 cpuCycle = (((UINT64)high << 30) + low); // 30, generate a seed. in TRandom()
152 x = cpuCycle; in TRandom()