Searched refs:cpuCycle (Results 1 – 2 of 2) sorted by relevance
256 UINT64 cpuCycle, cycleIncrement; in OsCpupCycleEndStart() local263 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() local320 usage = (UINT32)((LOS_CPUP_SINGLE_CORE_PRECISION * cpuCycle) / allCycle); in OsCalculateCpupUsage()
147 UINT64 cpuCycle; in TRandom() local151 cpuCycle = (((UINT64)high << 30) + low); // 30, generate a seed. in TRandom()152 x = cpuCycle; in TRandom()