From ded2b10d15a2107b9c477142979ff212cb08acd3 Mon Sep 17 00:00:00 2001 From: j30012456 Date: Mon, 25 Apr 2022 11:10:54 +0800 Subject: [PATCH] Mark coding language type Signed-off-by: j30012456 --- .../reference/apis/js-apis-hidebug.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-hidebug.md b/zh-cn/application-dev/reference/apis/js-apis-hidebug.md index d232ba5061..d8167c9779 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-hidebug.md +++ b/zh-cn/application-dev/reference/apis/js-apis-hidebug.md @@ -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 -- GitLab