未验证 提交 4b739917 编写于 作者: O openharmony_ci 提交者: Gitee

!3685 同步刷新js-apis-hidebug.md代码语言类型

Merge pull request !3685 from Peter_1988/task3474
......@@ -7,7 +7,7 @@ You can run the hidebug command to obtain the memory usage of an application, in
## Modules to Import
```
```js
import hidebug from '@ohos.hidebug';
```
......@@ -28,7 +28,7 @@ Obtains the total size of the native heap memory.
**Example**
```
```js
let nativeHeapSize = hidebug.getNativeHeapSize();
```
......@@ -49,7 +49,7 @@ Obtains the size of the allocated native heap memory.
**Example**
```
```js
let nativeHeapAllocatedSize = hidebug.getNativeHeapAllocatedSize();
```
......@@ -70,7 +70,7 @@ Obtains the size of the free native heap memory.
**Example**
```
```js
let nativeHeapFreeSize = hidebug.getNativeHeapFreeSize();
```
......@@ -91,7 +91,7 @@ Obtains the PSS of this process.
**Example**
```
```js
let pss = hidebug.getPss();
```
......@@ -112,7 +112,7 @@ Obtains the size of the shared dirty memory of this process.
**Example**
```
```js
let sharedDirty = hidebug.getSharedDirty();
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册