/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/full/ |
D | It_extend_cpup_011.c | 46 CPUP_INFO_S *cpup = NULL; in Testcase() local 51 cpup = (CPUP_INFO_S *)LOS_MemAlloc((VOID *)OS_SYS_MEM_ADDR, cpupInfoLen); in Testcase() 52 if (cpup == NULL) { in Testcase() 57 ret = LOS_GetAllIrqCpuUsage(CPUP_LAST_ONE_SECONDS, cpup, cpupInfoLen); in Testcase() 60 ICUNIT_ASSERT_SINGLE_CPUP_USAGE(cpup[loop].usage, EXIT1); in Testcase() 63 ret = LOS_GetAllIrqCpuUsage(CPUP_LAST_TEN_SECONDS, cpup, cpupInfoLen); in Testcase() 66 ICUNIT_ASSERT_SINGLE_CPUP_USAGE(cpup[loop].usage, EXIT1); in Testcase() 69 ret = LOS_GetAllIrqCpuUsage(CPUP_ALL_TIME, cpup, cpupInfoLen); in Testcase() 72 ICUNIT_ASSERT_SINGLE_CPUP_USAGE(cpup[loop].usage, EXIT1); in Testcase() 75 LOS_MemFree((VOID *)OS_SYS_MEM_ADDR, cpup); in Testcase() [all …]
|
/kernel/uniproton/src/om/cpup/ |
D | prt_cpup_thread_64.c | 91 OS_SEC_L2_TEXT U32 OsCpupTask(U32 intNum, struct CpupThread *cpup) in OsCpupTask() argument 95 cpup[maxNum].id = OS_CPUP_INT_ID; in OsCpupTask() 96 cpup[maxNum].usage = OsCpupIntGet(); in OsCpupTask() 109 cpup[maxNum].id = g_tskCbArray[index].taskPid; in OsCpupTask() 110 cpup[maxNum].usage = g_cpup[index].usage; in OsCpupTask() 117 OS_SEC_ALW_INLINE INLINE U32 OsCpupParaCheck(U32 intNum, struct CpupThread *cpup, const U32 *outNum) in OsCpupParaCheck() argument 119 if (cpup == NULL || outNum == NULL) { in OsCpupParaCheck() 205 U32 cpup = 0; in OsCpupThreadNow() local 216 cpup = (U32)(CPUP_USE_RATE - g_cpup[TSK_GET_INDEX(IDLE_TASK_ID)].usage); in OsCpupThreadNow() 219 return cpup; in OsCpupThreadNow() [all …]
|
D | prt_cpup_warn.c | 33 U32 cpup; in OsCpupWarn() local 36 cpup = OsCpupGet(); in OsCpupWarn() 37 if (cpup > g_cpupWarnInfo.warn) { /* 当超过阀值时,发出告警信息。 */ in OsCpupWarn() 44 } else if (cpup < g_cpupWarnInfo.resume) { in OsCpupWarn()
|
D | Kconfig | 2 bool "Whether support cpup or not" 15 bool "Whether support cpup warn or not"
|
/kernel/liteos_a/kernel/extended/cpup/ |
D | los_cpup.c | 105 g_irqCpup[loop].cpup.historyTime[prevPos] = g_irqCpup[loop].cpup.allTime; in OsCpupGuard() 188 STATIC VOID OsResetCpup(OsCpupBase *cpup, UINT64 cycle) in OsResetCpup() argument 192 cpup->startTime = cycle; in OsResetCpup() 193 cpup->allTime = cycle; in OsResetCpup() 195 cpup->historyTime[loop] = cycle; in OsResetCpup() 232 OsResetCpup(&g_irqCpup[index].cpup, cycle); in LOS_CpupReset() 313 STATIC INLINE UINT32 OsCalculateCpupUsage(const OsCpupBase *cpup, UINT16 pos, UINT16 prePos, UINT64… in OsCalculateCpupUsage() argument 316 UINT64 cpuCycle = cpup->historyTime[pos] - cpup->historyTime[prePos]; in OsCalculateCpupUsage() 344 UINT32 cpup; in LOS_HistorySysCpuUsage() local 349 cpup = OsHistorySysCpuUsageUnsafe(mode); in LOS_HistorySysCpuUsage() [all …]
|
D | los_cpup_pri.h | 65 OsCpupBase cpup; /**< irq cpup base */ member
|
/kernel/uniproton/doc/design/ |
D | architecture_design.md | 9 - OM:实现cpup、hook等调测功能。 34 | | om | cpup | cpu占用率统计功能 |
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
D | lpfc_init.c | 8950 struct lpfc_vector_map_info *cpup; in lpfc_sli4_queue_create() local 9042 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_sli4_queue_create() 9043 if (!(cpup->flag & LPFC_CPU_FIRST_IRQ)) in lpfc_sli4_queue_create() 9047 qp = &phba->sli4_hba.hdwq[cpup->hdwq]; in lpfc_sli4_queue_create() 9056 cpup->hdwq); in lpfc_sli4_queue_create() 9060 qdesc->hdwq = cpup->hdwq; in lpfc_sli4_queue_create() 9075 cpup = &phba->sli4_hba.cpu_map[cpu]; in lpfc_sli4_queue_create() 9078 if (cpup->flag & LPFC_CPU_FIRST_IRQ) in lpfc_sli4_queue_create() 9082 qp = &phba->sli4_hba.hdwq[cpup->hdwq]; in lpfc_sli4_queue_create() 9087 eqcpu = lpfc_find_cpu_handle(phba, cpup->eq, LPFC_FIND_BY_EQ); in lpfc_sli4_queue_create() [all …]
|
D | lpfc_attr.c | 5253 struct lpfc_vector_map_info *cpup; in lpfc_fcp_cpu_map_show() local 5278 cpup = &phba->sli4_hba.cpu_map[phba->sli4_hba.curr_disp_cpu]; in lpfc_fcp_cpu_map_show() 5284 else if (cpup->eq == LPFC_VECTOR_MAP_EMPTY) { in lpfc_fcp_cpu_map_show() 5285 if (cpup->hdwq == LPFC_VECTOR_MAP_EMPTY) in lpfc_fcp_cpu_map_show() 5291 cpup->phys_id, cpup->core_id, in lpfc_fcp_cpu_map_show() 5292 (cpup->flag & LPFC_CPU_MAP_HYPER), in lpfc_fcp_cpu_map_show() 5293 (cpup->flag & LPFC_CPU_MAP_UNASSIGN)); in lpfc_fcp_cpu_map_show() 5300 cpup->hdwq, cpup->phys_id, in lpfc_fcp_cpu_map_show() 5301 cpup->core_id, in lpfc_fcp_cpu_map_show() 5302 (cpup->flag & LPFC_CPU_MAP_HYPER), in lpfc_fcp_cpu_map_show() [all …]
|
/kernel/uniproton/ |
D | uniproton.gni | 201 "$OSTOPDIR/om/cpup/prt_cpup.c", 202 "$OSTOPDIR/om/cpup/prt_cpup_minor.c", 203 "$OSTOPDIR/om/cpup/prt_cpup_thread.c", 204 "$OSTOPDIR/om/cpup/prt_cpup_thread_64.c", 205 "$OSTOPDIR/om/cpup/prt_cpup_thread_init.c", 206 "$OSTOPDIR/om/cpup/prt_cpup_warn.c",
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | process.c | 78 struct percpu_struct *cpup; in common_shutdown_1() local 85 cpup = (struct percpu_struct *) in common_shutdown_1() 88 pflags = &cpup->flags; in common_shutdown_1()
|
/kernel/uniproton/src/om/ |
D | CMakeLists.txt | 2 add_subdirectory(cpup)
|
D | Kconfig | 3 source "om/cpup/Kconfig"
|
/kernel/liteos_a/kernel/extended/ |
D | Kconfig | 6 cppsupport, cpup, and dynload. You can select one or some 21 If you wish to build LiteOS with support for cpup. 28 If you wish to include irq usage for cpup.
|
D | BUILD.gn | 37 "cpup", 57 "cpup:public",
|
/kernel/linux/linux-5.10/include/linux/ |
D | timer.h | 185 extern void timer_quiesce_cpu(void *cpup); 187 static inline void timer_quiesce_cpu(void *cpup) { } in timer_quiesce_cpu() argument
|
D | hrtimer.h | 374 extern void hrtimer_quiesce_cpu(void *cpup); 376 static inline void hrtimer_quiesce_cpu(void *cpup) { } in hrtimer_quiesce_cpu() argument
|
/kernel/liteos_m/components/ |
D | BUILD.gn | 36 "cpup", 56 "cpup:public",
|
/kernel/liteos_a/testsuites/kernel/sample/kernel_extend/cpup/ |
D | Makefile | 8 -I $(LITEOSTESTTOPDIR)/kernel/sample/kernel_extend/cpup \
|
/kernel/uniproton/src/include/uapi/ |
D | prt_cpup.h | 219 extern U32 PRT_CpupThread(U32 inNum, struct CpupThread *cpup, U32 *outNum);
|
/kernel/liteos_m/ |
D | arch_spec_zh.md | 43 │ ├── cpup --- CPUP功能
|
D | arch_spec.md | 43 │ ├── cpup --- CPU percent (CPUP)
|
D | README_zh.md | 43 │ ├── cpup # CPUP功能
|
/kernel/liteos_a/tools/build/mk/ |
D | los_config.mk | 135 LIB_SUBDIRS += kernel/extended/cpup 136 LITEOS_CPUP_INCLUDE := -I $(LITEOSTOPDIR)/kernel/extended/cpup
|
/kernel/liteos_a/testsuites/kernel/ |
D | BUILD.gn | 82 deps += [ "sample/kernel_extend/cpup:test_cpup" ]
|