Searched refs:allTime (Results 1 – 11 of 11) sorted by relevance
136 U64 allTime = 0; in OsCpupAllTaskTimeGet() local139 allTime += g_cpup[index].allTime; in OsCpupAllTaskTimeGet()142 return (allTime + g_cpuTimeDelTask); in OsCpupAllTaskTimeGet()153 g_cpup[index].allTime = 0; in OsCpupTimeClear()166 g_cpup[index].usage = (U16)DIV64(g_cpup[index].allTime * CPUP_USE_RATE, g_baseValue); in OsCpupTickCal()232 …cpup = (U32)(CPUP_USE_RATE - DIV64(CPUP_USE_RATE * g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].allTime, cp… in OsCpupThreadNow()253 U64 allTime; in PRT_CpupThread() local298 allTime = g_cpup[index].allTime; in PRT_CpupThread()301 cpup[maxNum].usage = (U16)DIV64(CPUP_USE_RATE * allTime, cpuCycleAll); in PRT_CpupThread()307 …2)DIV64(CPUP_USE_RATE * (cpuCycleAll - g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].allTime), cpuCycleAll)); in PRT_CpupThread()
44 (OS_CPUP_PTR(taskId)->allTime += ((curCycle) - OS_CPUP_PTR(taskId)->startTime))
98 g_irqCpup[loop].historyTime[prevPos] = g_irqCpup[loop].allTime; in OsCpupGuard()99 g_cpuHistoryTime[prevPos] += g_irqCpup[loop].allTime; in OsCpupGuard()229 g_cpup[taskID].allTime += (cpuTime - g_cpup[taskID].startTime); in OsTskCycleEnd()259 g_cpup[taskID].allTime += (cpuTime - g_cpup[taskID].startTime); in OsTskCycleEndStart()271 g_cpup[loopNum].historyTime[g_hisPos] = g_cpup[loopNum].allTime; in OsTskCycleEndStart()329 cpuTimeAll += g_cpup[loopNum].allTime; in LOS_SysCpuUsage()334 g_cpup[g_idleTaskID].allTime) / cpuTimeAll); in LOS_SysCpuUsage()373 cpuTimeAll += g_cpup[loopNum].allTime - g_cpup[loopNum].historyTime[curPos]; in LOS_HistorySysCpuUsage()381 idleCycleAll += g_cpup[g_idleTaskID].allTime - g_cpup[g_idleTaskID].historyTime[curPos]; in LOS_HistorySysCpuUsage()427 cpuTimeAll += g_cpup[loopNum].allTime; in LOS_TaskCpuUsage()[all …]
135 UINT64 allTime; /**< Total running time */ member146 UINT64 allTime; /**< Total running time */ member
105 g_irqCpup[loop].cpup.historyTime[prevPos] = g_irqCpup[loop].cpup.allTime; in OsCpupGuard()114 processCB->processCpup->historyTime[prevPos] = processCB->processCpup->allTime; in OsCpupGuard()119 taskCB->taskCpup.historyTime[prevPos] = taskCB->taskCpup.allTime; in OsCpupGuard()193 cpup->allTime = cycle; in OsResetCpup()269 runTaskCpup->allTime += cycleIncrement; in OsCpupCycleEndStart()271 processCpup->allTime += cycleIncrement; in OsCpupCycleEndStart()553 irqCb->cpup.allTime += usedTime; in OsCpupIrqEnd()555 irqCb->allTime += usedTime; in OsCpupIrqEnd()558 irqCb->allTime = 0; in OsCpupIrqEnd()
50 UINT64 allTime; /**< Total running time */ member62 UINT64 allTime; member
35 U64 allTime; member
81 cycles = (irqData->allTime * OS_NS_PER_CYCLE) / (irqData->count * OS_SYS_NS_PER_US); in ShellCmdHwiInfoShow()
73 cycles = (data->allTime * OS_NS_PER_CYCLE) / (data->count * OS_SYS_NS_PER_US); in ShellCmdHwiInfoShow()
492 runtime = task->taskCpup.allTime; in PthreadGetCputime()522 runtime = spcb->processCpup->allTime; in ProcessGetCputime()
243 …(void)LosBufPrintf(seqBuf, "\nTotalRunningTime: %lu us\n", TIME_CYCLE_TO_US(processCpup->allTime)); in ProcessCpupRead()