CPC G06F 11/079 (2013.01) [G06F 9/4881 (2013.01); G06F 11/0724 (2013.01)] | 20 Claims |
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.
|