更新日期: 2022/06/01 来源: https://gitee.com/weharmony/kernel_liteos_a_note
los_cpup.h 文件参考

浏览源代码.

结构体

struct  tagCpupInfo
 

类型定义

typedef struct tagCpupInfo CPUP_INFO_S
 

枚举

enum  { CPUP_LAST_TEN_SECONDS = 0 , CPUP_LAST_ONE_SECONDS = 1 , CPUP_ALL_TIME = 0xffff }
 

函数

UINT32 LOS_HistorySysCpuUsage (UINT16 mode)
 Obtain the historical CPU usage. 更多...
 
UINT32 LOS_HistoryProcessCpuUsage (UINT32 pid, UINT16 mode)
 Obtain the historical CPU usage of a specified process. 更多...
 
UINT32 LOS_HistoryTaskCpuUsage (UINT32 tid, UINT16 mode)
 Obtain the historical CPU usage of a specified task. 更多...
 
UINT32 LOS_GetAllProcessCpuUsage (UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 len)
 Obtain the CPU usage of processes. 更多...
 
UINT32 LOS_GetAllIrqCpuUsage (UINT16 mode, CPUP_INFO_S *cpupInfo, UINT32 len)
 Obtain the CPU usage of hwi. 更多...
 
VOID LOS_CpupReset (VOID)
 Reset the data of CPU usage. 更多...