US 11,815,990 B2
Method for determining faulty computing core in multi-core processor and electronic device
Zhibin Zhang, Shenzhen (CN); and Xiaobo Zhang, Shanghai (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Appl. No. 17/761,683
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
PCT Filed Sep. 19, 2020, PCT No. PCT/CN2020/116343
§ 371(c)(1), (2) Date Mar. 18, 2022,
PCT Pub. No. WO2021/052489, PCT Pub. Date Mar. 25, 2021.
Claims priority of application No. 201910888839.6 (CN), filed on Sep. 19, 2019.
Prior Publication US 2022/0342739 A1, Oct. 27, 2022
Int. Cl. G06F 11/07 (2006.01); G06F 9/48 (2006.01)
CPC G06F 11/079 (2013.01) [G06F 9/4881 (2013.01); G06F 11/0724 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for determining a faulty computing core in a multi-core processor, applied to an electronic device configured with a multi-core processor, wherein the multi-core processor is integrated with a plurality of computing cores, the plurality of computing cores are independent of each other, and the plurality of computing cores comprise a first computing core; when the electronic device runs, at least one computing core in the plurality of computing cores executes program instructions, wherein the program instructions are allocated based on a dynamic scheduling policy; and the method comprises:
determining a computing core corresponding to each of N running exceptions, wherein the running exception is caused by an exception that occurs when any computing core in the plurality of computing cores executes the program instructions; and
when a quantity of running exceptions corresponding to the first computing core in the N running exceptions is greater than or equal to M, determining that the first computing core is a faulty computing core, wherein M is a preset value.