Change function name of process

Replace getPastCputime with getPastCpuTime

https://gitee.com/openharmony/js_sys_module/issues/I4URYV

Signed-off-by: shikai-123 <shikai25@huawei.com>
This commit is contained in:
shikai-123
2022-02-22 16:51:20 +08:00
parent ea50c93ab4
commit 86f9f7f6dc
+1 -1
View File
@@ -523,7 +523,7 @@ namespace OHOS::Js_sys_module::Process {
DECLARE_NAPI_FUNCTION("exit", Exit),
DECLARE_NAPI_GETTER("tid", GetTid),
DECLARE_NAPI_FUNCTION("getStartRealtime", GetStartRealtime),
DECLARE_NAPI_FUNCTION("getPastCputime", GetPastCputime),
DECLARE_NAPI_FUNCTION("getPastCpuTime", GetPastCputime),
DECLARE_NAPI_FUNCTION("isIsolatedProcess", IsIsolatedProcess),
DECLARE_NAPI_FUNCTION("is64Bit", Is64Bit),
DECLARE_NAPI_FUNCTION("isAppUid", IsAppUid),