提交 ded2b10d 编写于 作者: J j30012456

Mark coding language type

Signed-off-by: Nj30012456 <jiangyuan29@huawei.com>
上级 72d72861
......@@ -7,7 +7,7 @@
## 导入模块
```javascript
```js
import hidebug from '@ohos.hidebug';
```
......@@ -28,7 +28,7 @@ getNativeHeapSize(): bigint
**示例:**
```javascript
```js
let nativeHeapSize = hidebug.getNativeHeapSize();
```
......@@ -49,7 +49,7 @@ getNativeHeapAllocatedSize(): bigint
**示例:**
```javascript
```js
let nativeHeapAllocatedSize = hidebug.getNativeHeapAllocatedSize();
```
......@@ -70,7 +70,7 @@ getNativeHeapFreeSize(): bigint
**示例:**
```javascript
```js
let nativeHeapFreeSize = hidebug.getNativeHeapFreeSize();
```
......@@ -91,7 +91,7 @@ getPss(): bigint
**示例:**
```javascript
```js
let pss = hidebug.getPss();
```
......@@ -112,7 +112,7 @@ getSharedDirty(): bigint
**示例:**
```javascript
```js
let sharedDirty = hidebug.getSharedDirty();
```
......@@ -133,7 +133,7 @@ startProfiling(filename : string) : void
**示例:**
```javascript
```js
hidebug.startProfiling("cpuprofiler-20220216");
// code block
// ...
......@@ -153,7 +153,7 @@ stopProfiling() : void
**示例:**
```javascript
```js
hidebug.startProfiling("cpuprofiler-20220216");
// code block
// ...
......@@ -177,6 +177,6 @@ dumpHeapData(filename : string) : void
**示例:**
```javascript
```js
hidebug.dumpHeapData("heap-20220216");
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册