Searched refs:taskCpup (Results 1 – 4 of 4) sorted by relevance
120 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() local512 taskCpup[taskID].usage = OsCalculateCpupUsage(&taskCB->taskCpup, pos, prePos, cpuAllCycle); in OsGetAllProcessAndTaskCpuUsageUnsafe()513 taskCpup[taskID].status = OS_CPUP_USED; in OsGetAllProcessAndTaskCpuUsageUnsafe()
43 static UINT32 StatisticsTaskCpup(CPUP_INFO_S *taskCpup) in StatisticsTaskCpup() argument48 tmpCpup += taskCpup[i].usage; in StatisticsTaskCpup()
386 OsCpupBase taskCpup; /**< task cpu usage */ member
492 runtime = task->taskCpup.allTime; in PthreadGetCputime()