harmony 鸿蒙hidebug.h
hidebug.h
Overview
Defines the functions for debugging.
Library: libohhidebug.so
System capability: SystemCapability.HiviewDFX.HiProfiler.HiDebug
File to include:
Since: 12
Related module: HiDebug
Summary
Function
Name | Description |
---|---|
double OH_HiDebug_GetSystemCpuUsage () | Obtains the CPU usage of the system. |
double OH_HiDebug_GetAppCpuUsage () | Obtains the CPU usage of an application. |
HiDebug_ThreadCpuUsagePtr OH_HiDebug_GetAppThreadCpuUsage () | Obtains the CPU usage of all threads of an application. |
void OH_HiDebug_FreeThreadCpuUsage (HiDebug_ThreadCpuUsagePtr *threadCpuUsage) | Releases the thread data struct. |
void OH_HiDebug_GetSystemMemInfo (HiDebug_SystemMemInfo *systemMemInfo) | Obtains system memory information. |
void OH_HiDebug_GetAppNativeMemInfo (HiDebug_NativeMemInfo *nativeMemInfo) | Obtains the memory information of an application. |
void OH_HiDebug_GetAppMemoryLimit (HiDebug_MemoryLimit *memoryLimit) | Obtains the memory limit of an application. |
HiDebug_ErrorCode OH_HiDebug_StartAppTraceCapture (HiDebug_TraceFlag flag, uint64_t tags, uint32_t limitSize, char *fileName, uint32_t length) | Starts tracing of an application. |
HiDebug_ErrorCode OH_HiDebug_StopAppTraceCapture () | Stops application tracing. |
HiDebug_ErrorCode OH_HiDebug_GetGraphicsMemory (uint32_t *value) | Obtains the size of the GPU memory. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Performance Analysis Kit
harmony 鸿蒙Performance Analysis Kit
harmony 鸿蒙HiAppEvent_AppEventGroup
harmony 鸿蒙HiAppEvent_AppEventInfo
harmony 鸿蒙HiCollie_DetectionParam
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦