Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c48 LITE_OS_SEC_BSS STATIC UINT64 cpupStartCycles = 0; variable
71 if (cpupStartCycles == 0) { in OsGetCpuCycle()
72 cpupStartCycles = cycles; in OsGetCpuCycle()
79 LOS_ASSERT(cycles >= cpupStartCycles); in OsGetCpuCycle()
81 return (cycles - cpupStartCycles); in OsGetCpuCycle()