Home
last modified time | relevance | path

Searched refs:OsCpupBase (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_a/kernel/extended/cpup/
Dlos_cpup_pri.h53 } OsCpupBase; typedef
65 OsCpupBase cpup; /**< irq cpup base */
75 extern UINT32 OsGetProcessAllCpuUsageUnsafe(OsCpupBase *processCpup, ProcessInfo *processInfo);
76 extern UINT32 OsGetTaskAllCpuUsageUnsafe(OsCpupBase *taskCpup, TaskInfo *taskInfo);
Dlos_cpup.c188 STATIC VOID OsResetCpup(OsCpupBase *cpup, UINT64 cycle) in OsResetCpup()
252 OsCpupBase *runTaskCpup = &runTask->taskCpup; in OsCpupCycleEndStart()
253 OsCpupBase *newTaskCpup = &newTask->taskCpup; in OsCpupCycleEndStart()
254 OsCpupBase *processCpup = OS_PCB_FROM_TCB(runTask)->processCpup; in OsCpupCycleEndStart()
313 STATIC INLINE UINT32 OsCalculateCpupUsage(const OsCpupBase *cpup, UINT16 pos, UINT16 prePos, UINT64… in OsCalculateCpupUsage()
329 OsCpupBase *processCpup = NULL; in OsHistorySysCpuUsageUnsafe()
484 UINT32 OsGetProcessAllCpuUsageUnsafe(OsCpupBase *processCpup, ProcessInfo *processInfo) in OsGetProcessAllCpuUsageUnsafe()
506 UINT32 OsGetTaskAllCpuUsageUnsafe(OsCpupBase *taskCpup, TaskInfo *taskInfo) in OsGetTaskAllCpuUsageUnsafe()
/kernel/liteos_a/fs/proc/os_adapt/
Dprocess_proc.c228 OsCpupBase *processCpup = (OsCpupBase *)LOS_MemAlloc(m_aucSysMem1, sizeof(OsCpupBase)); in ProcessCpupRead()
232 (void)memset_s(processCpup, sizeof(OsCpupBase), 0, sizeof(OsCpupBase)); in ProcessCpupRead()
240 (void)memcpy_s(processCpup, sizeof(OsCpupBase), pcb->processCpup, sizeof(OsCpupBase)); in ProcessCpupRead()
/kernel/liteos_a/kernel/base/include/
Dlos_process_pri.h133 OsCpupBase *processCpup; /**< Process cpu usage */
Dlos_sched_pri.h423 OsCpupBase taskCpup; /**< task cpu usage */
/kernel/liteos_a/kernel/base/core/
Dlos_process.c432 OsCpupBase *processCpup = processCB->processCpup; in OsProcessResourcesToFree()
765 processCB->processCpup = (OsCpupBase *)LOS_MemAlloc(m_aucSysMem1, sizeof(OsCpupBase)); in OsInitPCB()
769 (VOID)memset_s(processCB->processCpup, sizeof(OsCpupBase), 0, sizeof(OsCpupBase)); in OsInitPCB()