-
公开(公告)号:US12061885B2
公开(公告)日:2024-08-13
申请号:US17484504
申请日:2021-09-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yi Jiang , Yongjian Chen , Chao Zhang , Junmin Zhao , Yan Zhang
CPC classification number: G06F8/51 , G06F8/315 , G06F8/434 , G06F9/4552
Abstract: A compilation method includes obtaining a source program code. The source program code includes a first function in a first language code and a second function in a second language code. The first language code is a native language. The second language code is a non-native language. The method also includes generating a third language code based on the source program code. The third language code includes a third function, a fourth function and a fifth function. The third function is generated based on the first function. The fourth function is generated based on the second function. The fifth function is generated based on the first function and the second function. Executing the third function invokes the fourth function via the fifth function.
-
2.
公开(公告)号:US11138034B2
公开(公告)日:2021-10-05
申请号:US16242363
申请日:2019-01-08
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yifan Lu , Haitao Huang , Yongyong Yang , Yongjian Chen , Mingliang Yi
Abstract: The method for collecting information includes obtaining, based on a method identifier of the target method, the quantity of times of invoking the target method, recording method information of the target method based on the quantity of times of invoking the target method, a first threshold, and a second threshold, and setting a method status of the target method, the method status is one of a first state and a second state, the first state corresponds to the first threshold, the second state corresponds to the second threshold.
-
3.
公开(公告)号:US20190155641A1
公开(公告)日:2019-05-23
申请号:US16242363
申请日:2019-01-08
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Yifan Lu , Haitao Huang , Yongyong Yang , Yongjian Chen , Mingliang Yi
Abstract: The method for collecting information includes: when a quantity of times of invoking a target method in a running lifecycle of a target program increases, obtaining, based on a method identifier of the target method, the quantity of times of invoking the target method; and recording method information of the target method based on the quantity of times of invoking the target method, a first threshold, and a second threshold, and setting a method status of the target method, the method status is one of a first state and a second state, the first state corresponds to the first threshold, the second state corresponds to the second threshold.
-
-