Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c120 taskCB->taskCpup.historyTime[prevPos] = taskCB->taskCpup.allTime; in OsCpupGuard()
132 cycleIncrement = cycle - taskCB->taskCpup.startTime; in OsCpupGuard()
136 taskCB->taskCpup.historyTime[prevPos] += cycleIncrement; in OsCpupGuard()
226 OsResetCpup(&taskCB->taskCpup, cycle); in LOS_CpupReset()
253 OsCpupBase *runTaskCpup = &runTask->taskCpup; in OsCpupCycleEndStart()
254 OsCpupBase *newTaskCpup = (OsCpupBase *)&(OS_TCB_FROM_TID(newTaskID)->taskCpup); in OsCpupCycleEndStart()
419 return OsCalculateCpupUsage(&taskCB->taskCpup, pos, prePos, cpuAllCycle); in OsHistoryTaskCpuUsageUnsafe()
496 …CPUP_INFO_S *taskCpup = (CPUP_INFO_S *)((UINTPTR)cpupInfo + sizeof(CPUP_INFO_S) * g_processMaxNum); in OsGetAllProcessAndTaskCpuUsageUnsafe() local
512 taskCpup[taskID].usage = OsCalculateCpupUsage(&taskCB->taskCpup, pos, prePos, cpuAllCycle); in OsGetAllProcessAndTaskCpuUsageUnsafe()
513 taskCpup[taskID].status = OS_CPUP_USED; in OsGetAllProcessAndTaskCpuUsageUnsafe()
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/smp/
DIt_smp_extend_cpup_011.c43 static UINT32 StatisticsTaskCpup(CPUP_INFO_S *taskCpup) in StatisticsTaskCpup() argument
48 tmpCpup += taskCpup[i].usage; in StatisticsTaskCpup()
/kernel/liteos_a/kernel/base/include/
Dlos_sched_pri.h386 OsCpupBase taskCpup; /**< task cpu usage */ member
/kernel/liteos_a/compat/posix/src/
Dtime.c492 runtime = task->taskCpup.allTime; in PthreadGetCputime()