未验证 提交 568c72f8 编写于 作者: Z zengyawen 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-process.md.

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 cd09fd9d
......@@ -251,24 +251,6 @@ getStartRealtime() :number
var realtime = process.getStartRealtime();
```
## process.getAvailableCores<sup>8+</sup>
getAvailableCores() :number[]
获取多核设备上当前进程可用的CPU内核。
- 返回值:
| 类型 | 说明 |
| -------- | -------- |
| number[] | 返回可用内核数。 |
- 示例:
```
var result = getAvailableCores();
```
## process.getPastCputime<sup>8+</sup>
getPastCputime() :number
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册