Home
last modified time | relevance | path

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

/kernel/uniproton/src/om/cpup/
Dprt_cpup_thread_internal.h41 #define OS_TASK_CYCLE_START(taskId, curCycle) (OS_CPUP_PTR(taskId)->startTime = (curCycle)) argument
43 #define OS_TASK_CYCLE_END(taskId, curCycle) \ argument
44 (OS_CPUP_PTR(taskId)->allTime += ((curCycle) - OS_CPUP_PTR(taskId)->startTime))
66 extern void OsCpupStartEnd(U32 lastTaskId, U32 nextTaskId, U64 curCycle);
70 OS_SEC_ALW_INLINE INLINE U64 OsCpupGetWinCycles(U64 curCycle) in OsCpupGetWinCycles() argument
72 U64 cycles = curCycle - g_cpuWinStart; in OsCpupGetWinCycles()
Dprt_cpup_thread_64.c66 OS_SEC_L2_TEXT void OsCpupStartEnd(U32 lastTaskId, U32 nextTaskId, U64 curCycle) in OsCpupStartEnd() argument
69 OS_TASK_CYCLE_END(lastTaskId, curCycle); in OsCpupStartEnd()
72 OS_TASK_CYCLE_START(nextTaskId, curCycle); in OsCpupStartEnd()
206 U64 curCycle; in OsCpupThreadNow() local
223 curCycle = OsCurCycleGet64(); in OsCpupThreadNow()
226 OsCpupStartEnd(RUNNING_TASK->taskPid, RUNNING_TASK->taskPid, curCycle); in OsCpupThreadNow()
229 cpuCycleAll = OsCpupGetWinCycles(curCycle); in OsCpupThreadNow()
230 g_cpuWinStart = curCycle; in OsCpupThreadNow()
254 U64 curCycle; in PRT_CpupThread() local
277 curCycle = OsCurCycleGet64(); in PRT_CpupThread()
[all …]
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/event/full/
DIt_los_event_025.c46 UINT64 curCycle; in TestGetCurCycle() local
49 curCycle = ((UINT64)cntHi << 32) | cntLo; // 32, High byte in TestGetCurCycle()
51 return curCycle; in TestGetCurCycle()