未验证 提交 bdf325a3 编写于 作者: W wenlong_12 提交者: Gitee

去空格

Signed-off-by: Nwenlong_12 <wenlong12@huawei.com>
上级 03f066f1
...@@ -29,7 +29,7 @@ getNativeHeapSize(): bigint ...@@ -29,7 +29,7 @@ getNativeHeapSize(): bigint
**示例:** **示例:**
```ts ```ts
let nativeHeapSize : bigint = hidebug.getNativeHeapSize(); let nativeHeapSize: bigint = hidebug.getNativeHeapSize();
``` ```
## hidebug.getNativeHeapAllocatedSize ## hidebug.getNativeHeapAllocatedSize
...@@ -49,7 +49,7 @@ getNativeHeapAllocatedSize(): bigint ...@@ -49,7 +49,7 @@ getNativeHeapAllocatedSize(): bigint
**示例:** **示例:**
```ts ```ts
let nativeHeapAllocatedSize : bigint = hidebug.getNativeHeapAllocatedSize(); let nativeHeapAllocatedSize: bigint = hidebug.getNativeHeapAllocatedSize();
``` ```
## hidebug.getNativeHeapFreeSize ## hidebug.getNativeHeapFreeSize
...@@ -68,7 +68,7 @@ getNativeHeapFreeSize(): bigint ...@@ -68,7 +68,7 @@ getNativeHeapFreeSize(): bigint
**示例:** **示例:**
```ts ```ts
let nativeHeapFreeSize : bigint = hidebug.getNativeHeapFreeSize(); let nativeHeapFreeSize: bigint = hidebug.getNativeHeapFreeSize();
``` ```
## hidebug.getPss ## hidebug.getPss
...@@ -87,7 +87,7 @@ getPss(): bigint ...@@ -87,7 +87,7 @@ getPss(): bigint
**示例:** **示例:**
```ts ```ts
let pss : bigint = hidebug.getPss(); let pss: bigint = hidebug.getPss();
``` ```
## hidebug.getSharedDirty ## hidebug.getSharedDirty
...@@ -107,7 +107,7 @@ getSharedDirty(): bigint ...@@ -107,7 +107,7 @@ getSharedDirty(): bigint
**示例:** **示例:**
```ts ```ts
let sharedDirty : bigint = hidebug.getSharedDirty(); let sharedDirty: bigint = hidebug.getSharedDirty();
``` ```
## hidebug.getPrivateDirty<sup>9+<sup> ## hidebug.getPrivateDirty<sup>9+<sup>
...@@ -126,7 +126,7 @@ getPrivateDirty(): bigint ...@@ -126,7 +126,7 @@ getPrivateDirty(): bigint
**示例:** **示例:**
```ts ```ts
let privateDirty : bigint = hidebug.getPrivateDirty(); let privateDirty: bigint = hidebug.getPrivateDirty();
``` ```
## hidebug.getCpuUsage<sup>9+<sup> ## hidebug.getCpuUsage<sup>9+<sup>
...@@ -148,7 +148,7 @@ getCpuUsage(): number ...@@ -148,7 +148,7 @@ getCpuUsage(): number
**示例:** **示例:**
```ts ```ts
let cpuUsage : number = hidebug.getCpuUsage(); let cpuUsage: number = hidebug.getCpuUsage();
``` ```
## hidebug.getServiceDump<sup>9+<sup> ## hidebug.getServiceDump<sup>9+<sup>
...@@ -187,13 +187,13 @@ try { ...@@ -187,13 +187,13 @@ try {
} }
if (applicationContext) { if (applicationContext) {
let filesDir : string = applicationContext.filesDir; let filesDir: string = applicationContext.filesDir;
} }
let path : string = filesDir + "/serviceInfo.txt"; let path: string = filesDir + "/serviceInfo.txt";
console.info("output path: " + path); console.info("output path: " + path);
let file : file.fs = fs.openSync(path, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE); let file: file.fs = fs.openSync(path, fs.OpenMode.READ_WRITE | fs.OpenMode.CREATE);
let serviceId : number = 10; let serviceId: number = 10;
let args : Array = new Array("allInfo"); let args: Array = new Array("allInfo");
try { try {
hidebug.getServiceDump(serviceId, file.fd, args); hidebug.getServiceDump(serviceId, file.fd, args);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册