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

!4082 【OpenHarmony开源贡献者计划2022】api相关格式及表达问题

Merge pull request !4082 from king_he/api-d
# Performance Tracing # Performance Tracing
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > ![icon-note.gif](public_sys-resources/icon-note.gif) **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. > 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.
...@@ -25,10 +25,10 @@ If the trace tasks with the same name are not performed at the same time, the sa ...@@ -25,10 +25,10 @@ If the trace tasks with the same name are not performed at the same time, the sa
**Parameters** **Parameters**
| Name| Type| Mandatory| Description| | Name| Type | Mandatory | Description |
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes| Name of the trace task to start.| | name | string | Yes | Name of the trace task to start. |
| taskId | number | Yes| Task ID.| | taskId | number | Yes| Task ID. |
**Example** **Example**
...@@ -52,8 +52,8 @@ To stop a trace task, the values of name and task ID in **finishTrace** must be ...@@ -52,8 +52,8 @@ To stop a trace task, the values of name and task ID in **finishTrace** must be
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes| Name of the trace task to start.| | name | string | Yes| Name of the trace task to start. |
| taskId | number | Yes| Task ID.| | taskId | number | Yes| Task ID. |
**Example** **Example**
...@@ -96,8 +96,8 @@ Traces the value changes of a variable. ...@@ -96,8 +96,8 @@ Traces the value changes of a variable.
| Name| Type| Mandatory| Description| | Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- |
| name | string | Yes| Name of the variable.| | name | string | Yes | Name of the variable. |
| count | number | Yes| Value of the variable.| | count | number | Yes | Value of the variable. |
**Example** **Example**
```js ```js
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册