文件最后提交记录最后更新时间
Debug\flybird\EnterpriseAdminExtensionAbility Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
修复编译问题 Signed-off-by: yuandongping <yuandongping@huawei.com> 1 年前
修复编译问题 Signed-off-by: yuandongping <yuandongping@huawei.com> 1 年前
modify README.md Signed-off-by: gou-jingjing <goujingjing@kaihong.com> 2 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
revert sdk version 10->9 Signed-off-by: sunwenxu <sunwenxu1@huawei.com> 3 年前
fix:fixed a broken hyperlink Signed-off-by: 17786508361 <zhengxiaobo5@h-partners.com> 2 年前
添加runtimeOS修复编译报错 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 1 年前
AbilityFeature\ArkTSCard\Debug\MediaCollections\DisplaySync编译报错修复 Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
Debug\flybird\EnterpriseAdminExtensionAbility Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
Debug\flybird\EnterpriseAdminExtensionAbility Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
Debug\flybird\EnterpriseAdminExtensionAbility Signed-off-by: yeyedeshen <yangxin181@huawei.com> 2 年前
补充Contact、Debug、RPC测试用例表 Signed-off-by: zwx1126739 <zhanghong121@huawei.com> 3 年前
README.md

HiDebug

Introduction

This sample shows how to use HiDebug APIs to obtain the memory usage of an application. The display effect is as follows:

Concepts

HiDebug: a module that allows you to obtain the memory usage of an application, including the static heap memory (native heap) and proportional set size (PSS) occupied by the application process. It also allows you to export VM memory slices and collect VM CPU profiling data.

Stack: a component that provides a stack container where child components are successively stacked and the latter one overwrites the previous one.

@Builder: a decorator used for a method to define the declarative UI description of a component and quickly generate multiple layouts in a custom component.

Required Permissions

N/A

Usage

  1. Touch the Debug icon in the upper right corner of the page. The debugging information page is displayed, showing the memory usage of the application.

  2. Touch the Debug icon again. The debugging information page disappears.

Constraints

  1. This sample can only be run on standard-system devices.

  2. This sample is based on the stage model, which is supported from API version 9.

  3. DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100) must be used.