32#ifndef _LOS_CPUP_PRI_H
33#define _LOS_CPUP_PRI_H
47#define OS_CPUP_HISTORY_RECORD_NUM 11
52 UINT64 historyTime[OS_CPUP_HISTORY_RECORD_NUM + 1];
74#ifdef LOSCFG_CPUP_INCLUDE_IRQ
UINT32 OsGetAllProcessCpuUsageUnsafe(UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 len)
VOID OsCpupIrqStart(UINT16)
UINT32 OsGetAllIrqCpuUsageUnsafe(UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 len)
VOID OsCpupCycleEndStart(UINT32 runTaskID, UINT32 newTaskID)
UINT32 OsCpupGuardCreator(VOID)
创建cpu使用统计定时器
UINT32 OsGetAllProcessAndTaskCpuUsageUnsafe(UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 len)
VOID OsCpupIrqEnd(UINT16, UINT32)
OsIrqCpupCB * OsGetIrqCpupArrayBase(VOID)
UINT32 OsGetAllTaskCpuUsageUnsafe(UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 len)