Home
last modified time | relevance | path

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

/kernel/uniproton/src/om/cpup/
Dprt_cpup_thread_64.c136 U64 allTime = 0; in OsCpupAllTaskTimeGet() local
139 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() local
298 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()
Dprt_cpup_thread_internal.h44 (OS_CPUP_PTR(taskId)->allTime += ((curCycle) - OS_CPUP_PTR(taskId)->startTime))
/kernel/liteos_m/components/cpup/
Dlos_cpup.c98 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 …]
Dlos_cpup.h135 UINT64 allTime; /**< Total running time */ member
146 UINT64 allTime; /**< Total running time */ member
/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup.c105 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()
Dlos_cpup_pri.h50 UINT64 allTime; /**< Total running time */ member
62 UINT64 allTime; member
/kernel/uniproton/src/om/include/
Dprt_cpup_external.h35 U64 allTime; member
/kernel/liteos_m/components/debugtools/
Dlos_hwidump.c81 cycles = (irqData->allTime * OS_NS_PER_CYCLE) / (irqData->count * OS_SYS_NS_PER_US); in ShellCmdHwiInfoShow()
/kernel/liteos_a/shell/full/src/cmds/
Dhwi_shellcmd.c73 cycles = (data->allTime * OS_NS_PER_CYCLE) / (data->count * OS_SYS_NS_PER_US); in ShellCmdHwiInfoShow()
/kernel/liteos_a/compat/posix/src/
Dtime.c492 runtime = task->taskCpup.allTime; in PthreadGetCputime()
522 runtime = spcb->processCpup->allTime; in ProcessGetCputime()
/kernel/liteos_a/fs/proc/os_adapt/
Dprocess_proc.c243 …(void)LosBufPrintf(seqBuf, "\nTotalRunningTime: %lu us\n", TIME_CYCLE_TO_US(processCpup->allTime)); in ProcessCpupRead()