hidebug_type.h
概述
HiDebug模块代码结构体定义。
库: libohhidebug.so
系统能力: SystemCapability.HiviewDFX.HiProfiler.HiDebug
起始版本: 12
相关模块:HiDebug
汇总
结构体
| 名称 | 描述 |
|---|---|
| struct HiDebug_ThreadCpuUsage | 应用程序所有线程的CPU使用率结构体定义。 |
| struct HiDebug_SystemMemInfo | 系统内存信息结构类型定义。 |
| struct HiDebug_NativeMemInfo | 应用程序进程本机内存信息结构类型定义。 |
| struct HiDebug_MemoryLimit | 应用程序进程内存限制结构类型定义。 |
| struct HiDebug_JsStackFrame | js栈帧内容的定义。 |
| struct HiDebug_NativeStackFrame | native栈帧内容的定义。 |
| struct HiDebug_StackFrame | 栈帧内容的定义。 |
宏定义
类型定义
| 名称 | 描述 |
|---|---|
| typedef enum HiDebug_ErrorCode HiDebug_ErrorCode | 错误码定义。 |
| typedef struct HiDebug_ThreadCpuUsage HiDebug_ThreadCpuUsage | 应用程序所有线程的CPU使用率结构体定义。 |
| typedef HiDebug_ThreadCpuUsage * HiDebug_ThreadCpuUsagePtr | HiDebug_ThreadCpuUsage指针定义。 |
| typedef struct HiDebug_SystemMemInfo HiDebug_SystemMemInfo | 系统内存信息结构类型定义。 |
| typedef struct HiDebug_NativeMemInfo HiDebug_NativeMemInfo | 应用程序进程本机内存信息结构类型定义。 |
| typedef struct HiDebug_MemoryLimit HiDebug_MemoryLimit | 应用程序进程内存限制结构类型定义。 |
| typedef enum HiDebug_TraceFlag HiDebug_TraceFlag | 采集trace线程的类型。 |
| typedef struct HiDebug_JsStackFrame HiDebug_JsStackFrame | js栈帧内容的定义。 |
| typedef struct HiDebug_NativeStackFrame HiDebug_NativeStackFrame | native栈帧内容的定义。 |
| typedef enum HiDebug_StackFrameType HiDebug_StackFrameType | 栈帧类型的枚举值定义。 |
| typedef struct HiDebug_StackFrame HiDebug_StackFrame | 栈帧内容的定义。 |
| typedef struct HiDebug_Backtrace_Object__ * HiDebug_Backtrace_Object | 用于栈回溯及栈解析的对象。 |
枚举
| 名称 | 描述 |
|---|---|
| HiDebug_ErrorCode { HIDEBUG_SUCCESS = 0, HIDEBUG_INVALID_ARGUMENT = 401, HIDEBUG_TRACE_CAPTURED_ALREADY = 11400102, HIDEBUG_NO_PERMISSION = 11400103, HIDEBUG_TRACE_ABNORMAL = 11400104, HIDEBUG_NO_TRACE_RUNNING = 11400105 } | 错误码定义。 |
| HiDebug_TraceFlag { HIDEBUG_TRACE_FLAG_MAIN_THREAD = 1, HIDEBUG_TRACE_FLAG_ALL_THREADS = 2 } | 采集trace线程的类型。 |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Performance Analysis Kit(性能分析服务)
harmony 鸿蒙HiAppEvent_AppEventGroup
harmony 鸿蒙HiAppEvent_AppEventInfo
harmony 鸿蒙HiCollie_DetectionParam
harmony 鸿蒙HiCollie_SetTimerParam