Searched refs:OsCpupBase (Results 1 – 6 of 6) sorted by relevance
/kernel/liteos_a/kernel/extended/cpup/ |
D | los_cpup_pri.h | 53 } OsCpupBase; typedef 65 OsCpupBase cpup; /**< irq cpup base */ 75 extern UINT32 OsGetProcessAllCpuUsageUnsafe(OsCpupBase *processCpup, ProcessInfo *processInfo); 76 extern UINT32 OsGetTaskAllCpuUsageUnsafe(OsCpupBase *taskCpup, TaskInfo *taskInfo);
|
D | los_cpup.c | 188 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/ |
D | process_proc.c | 228 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/ |
D | los_process_pri.h | 133 OsCpupBase *processCpup; /**< Process cpu usage */
|
D | los_sched_pri.h | 423 OsCpupBase taskCpup; /**< task cpu usage */
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 432 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()
|