未验证 提交 54e8c77f 编写于 作者: O openharmony_ci 提交者: Gitee

!4156 翻译已完成3822&3998&4066&2719

Merge pull request !4156 from shawn_he/0519-a
......@@ -19,4 +19,4 @@ In OpenHarmony documents, proxy represents the service requester, and stub repre
## Related Modules
Distributed Scheduler
[Distributed Scheduler](https://gitee.com/openharmony/distributedschedule_dms_fwk)
# HiDebug
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**<br>
> **NOTE**<br>
> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
You can run the hidebug command 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. You can also export VM memory slices and collect VM CPU profiling data.
......@@ -18,6 +18,8 @@ getNativeHeapSize(): bigint
Obtains the total size of the native heap memory.
This API is defined but not implemented in OpenHarmony 3.1 Release.
**System capability**: SystemCapability.HiviewDFX.HiProfiler.HiDebug
**Return value**
......@@ -39,6 +41,8 @@ getNativeHeapAllocatedSize(): bigint
Obtains the size of the allocated native heap memory.
This API is defined but not implemented in OpenHarmony 3.1 Release.
**System capability**: SystemCapability.HiviewDFX.HiProfiler.HiDebug
......@@ -60,6 +64,8 @@ getNativeHeapFreeSize(): bigint
Obtains the size of the free native heap memory.
This API is defined but not implemented in OpenHarmony 3.1 Release.
**System capability**: SystemCapability.HiviewDFX.HiProfiler.HiDebug
......
# USB
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> **NOTE**<br>
> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
......
......@@ -288,11 +288,11 @@ It is worth noting that the modified **init.cfg** file must be in JSON format.
Startup subsystem
[startup\_syspara\_lite](https://gitee.com/openharmony/startup_syspara_lite)
[startup\_init\_lite](https://gitee.com/openharmony/startup_init_lite)
[startup\_appspawn\_lite](https://gitee.com/openharmony/startup_appspawn_lite)
[startup\_syspara\_lite](https://gitee.com/openharmony/startup_syspara_lite)
[startup\_bootstrap\_lite](https://gitee.com/openharmony/startup_bootstrap_lite)
[startup\_init\_lite](https://gitee.com/openharmony/startup_init_lite)
[startup\_appspawn\_lite](https://gitee.com/openharmony/startup_appspawn_lite)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册