-
1.
公开(公告)号: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.
-
2.
公开(公告)号: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.
-