Home
last modified time | relevance | path

Searched refs:historyTime (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_m/components/cpup/
Dlos_cpup.c98 g_irqCpup[loop].historyTime[prevPos] = g_irqCpup[loop].allTime; in OsCpupGuard()
271 g_cpup[loopNum].historyTime[g_hisPos] = g_cpup[loopNum].allTime; in OsTskCycleEndStart()
371 cpuTimeAll += g_cpup[loopNum].historyTime[curPos] - g_cpup[loopNum].historyTime[prePos]; in LOS_HistorySysCpuUsage()
373 cpuTimeAll += g_cpup[loopNum].allTime - g_cpup[loopNum].historyTime[curPos]; in LOS_HistorySysCpuUsage()
378 idleCycleAll += g_cpup[g_idleTaskID].historyTime[curPos] - in LOS_HistorySysCpuUsage()
379 g_cpup[g_idleTaskID].historyTime[prePos]; in LOS_HistorySysCpuUsage()
381 idleCycleAll += g_cpup[g_idleTaskID].allTime - g_cpup[g_idleTaskID].historyTime[curPos]; in LOS_HistorySysCpuUsage()
480 cpuTimeAll += g_cpup[loopNum].historyTime[curPos] - g_cpup[loopNum].historyTime[prePos]; in LOS_HistoryTaskCpuUsage()
482 cpuTimeAll += g_cpup[loopNum].allTime - g_cpup[loopNum].historyTime[curPos]; in LOS_HistoryTaskCpuUsage()
487 cpuTimeCurTsk += g_cpup[taskID].historyTime[curPos] - g_cpup[taskID].historyTime[prePos]; in LOS_HistoryTaskCpuUsage()
[all …]
Dlos_cpup.h137 UINT64 historyTime[OS_CPUP_HISTORY_RECORD_NUM]; /**< Historical running time */ member
150 UINT64 historyTime[OS_CPUP_HISTORY_RECORD_NUM]; /**< Historical 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()
134 runTask->taskCpup.historyTime[prevPos] += cycleIncrement; in OsCpupGuard()
137 processCB->processCpup->historyTime[prevPos] += cycleIncrement; in OsCpupGuard()
195 cpup->historyTime[loop] = cycle; in OsResetCpup()
316 UINT64 cpuCycle = cpup->historyTime[pos] - cpup->historyTime[prePos]; in OsCalculateCpupUsage()
Dlos_cpup_pri.h52 …UINT64 historyTime[OS_CPUP_HISTORY_RECORD_NUM + 1]; /**< Historical running time, the last one sav… member
/kernel/liteos_a/fs/proc/os_adapt/
Dprocess_proc.c246 (void)LosBufPrintf(seqBuf, "%lu ", TIME_CYCLE_TO_US(processCpup->historyTime[i])); in ProcessCpupRead()