×

CPU control method, electronic system control method and electronic system for improved CPU utilization in executing functions

  • US 9,740,660 B2
  • Filed: 04/24/2015
  • Issued: 08/22/2017
  • Est. Priority Date: 04/24/2014
  • Status: Active Grant
First Claim
Patent Images

1. A central processing unit (CPU) control method, for controlling different CPUs including a first CPU and a second CPU, comprising:

  • a series of operations to optimize the different CPUs by;

    acquiring CPU information from a second register which is accessible in a kernel space but not in a user space;

    storing the CPU information in a first register in the kernel space, the first register accessible in the kernel space and the user space;

    after the storing is complete, reading the CPU information from the first register in the user space;

    in response to the reading, determining which one of the first CPU and the second CPU is operating to perform a first function according to the CPU information stored in the first register;

    based on the determining;

    applying the first CPU to execute a first group of codes comprising at least one code if the first CPU is operating to perform the first function; and

    applying the second CPU to execute a second group of codes comprising at least one code if the second CPU is operating to perform the first function,wherein the first group of codes is optimized for the first CPU, the second group of codes is optimized for the second CPU and the first group of codes comprises at least one code different from codes in the second group of codes.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×