Searched refs:processCpup (Results 1 – 8 of 8) sorted by relevance
/kernel/liteos_a/kernel/extended/cpup/ |
D | los_cpup.c | 111 if (processCB->processCpup == NULL) { in OsCpupGuard() 114 processCB->processCpup->historyTime[prevPos] = processCB->processCpup->allTime; in OsCpupGuard() 136 if (processCB->processCpup != NULL) { in OsCpupGuard() 137 processCB->processCpup->historyTime[prevPos] += cycleIncrement; in OsCpupGuard() 218 if (processCB->processCpup == NULL) { in LOS_CpupReset() 221 OsResetCpup(processCB->processCpup, cycle); in LOS_CpupReset() 254 OsCpupBase *processCpup = OS_PCB_FROM_TCB(runTask)->processCpup; in OsCpupCycleEndStart() local 270 if (processCpup != NULL) { in OsCpupCycleEndStart() 271 processCpup->allTime += cycleIncrement; in OsCpupCycleEndStart() 329 OsCpupBase *processCpup = NULL; in OsHistorySysCpuUsageUnsafe() local [all …]
|
D | los_cpup_pri.h | 75 extern UINT32 OsGetProcessAllCpuUsageUnsafe(OsCpupBase *processCpup, ProcessInfo *processInfo);
|
/kernel/liteos_a/kernel/extended/hidumper/ |
D | los_hidumper.c | 174 CPUP_INFO_S *processCpup = NULL; in DumpCpuUsageUnsafe() local 179 size = sizeof(*processCpup) * g_processMaxNum * CPUP_TYPE_COUNT; in DumpCpuUsageUnsafe() 180 processCpup = LOS_MemAlloc(m_aucSysMem1, size); in DumpCpuUsageUnsafe() 181 if (processCpup == NULL) { in DumpCpuUsageUnsafe() 185 processCpupAll = processCpup; in DumpCpuUsageUnsafe() 188 (VOID)memset_s(processCpup, size, 0, size); in DumpCpuUsageUnsafe() 193 (VOID)LOS_MemFree(m_aucSysMem1, processCpup); in DumpCpuUsageUnsafe()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
D | process_proc.c | 228 OsCpupBase *processCpup = (OsCpupBase *)LOS_MemAlloc(m_aucSysMem1, sizeof(OsCpupBase)); in ProcessCpupRead() local 229 if (processCpup == NULL) { in ProcessCpupRead() 232 (void)memset_s(processCpup, sizeof(OsCpupBase), 0, sizeof(OsCpupBase)); in ProcessCpupRead() 237 (VOID)LOS_MemFree(m_aucSysMem1, processCpup); in ProcessCpupRead() 240 (void)memcpy_s(processCpup, sizeof(OsCpupBase), pcb->processCpup, sizeof(OsCpupBase)); in ProcessCpupRead() 243 …(void)LosBufPrintf(seqBuf, "\nTotalRunningTime: %lu us\n", TIME_CYCLE_TO_US(processCpup->allTime)); in ProcessCpupRead() 246 (void)LosBufPrintf(seqBuf, "%lu ", TIME_CYCLE_TO_US(processCpup->historyTime[i])); in ProcessCpupRead() 249 (void)LOS_MemFree(m_aucSysMem1, processCpup); in ProcessCpupRead()
|
/kernel/liteos_a/kernel/base/core/ |
D | los_process.c | 432 OsCpupBase *processCpup = processCB->processCpup; in OsProcessResourcesToFree() local 434 processCB->processCpup = NULL; in OsProcessResourcesToFree() 436 (VOID)LOS_MemFree(m_aucSysMem1, processCpup); in OsProcessResourcesToFree() 765 processCB->processCpup = (OsCpupBase *)LOS_MemAlloc(m_aucSysMem1, sizeof(OsCpupBase)); in OsInitPCB() 766 if (processCB->processCpup == NULL) { in OsInitPCB() 769 (VOID)memset_s(processCB->processCpup, sizeof(OsCpupBase), 0, sizeof(OsCpupBase)); in OsInitPCB()
|
D | los_info.c | 107 (VOID)OsGetProcessAllCpuUsageUnsafe(processCB->processCpup, pcbInfo); in GetProcessInfo()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_process_pri.h | 133 OsCpupBase *processCpup; /**< Process cpu usage */ member
|
/kernel/liteos_a/compat/posix/src/ |
D | time.c | 518 if (spcb->processCpup == NULL) { in ProcessGetCputime() 522 runtime = spcb->processCpup->allTime; in ProcessGetCputime()
|