ELECTRONIC DEVICE FOR ALLOCATING PROCESSES TO CPUS OF PROCESSOR
Provided is an electronic device including: a processor including a plurality of central processing units (CPUs); and a first memory which is volatile and is operatively connected to the processor. A part of the plurality of CPUs is included in a first set, and another part of the plurality of CPUs...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Provided is an electronic device including: a processor including a plurality of central processing units (CPUs); and a first memory which is volatile and is operatively connected to the processor. A part of the plurality of CPUs is included in a first set, and another part of the plurality of CPUs is included in a second set. A CPU included in the first set may be configured as a universal CPU responsible for executing both a background (BG) process and a foreground (FG) process. A CPU included in the second set may be configured as one of the universal CPU and a non-universal CPU responsible for executing only the FG process. The first memory may store instructions that, when executed, cause the processor to identify whether a first condition in which the number of tasks configured to be executed in the first set exceeds a designated threshold value is satisfied, and based on the first condition being satisfied, perform at least one of a first operation of transferring execution of a task having the longest standby time among tasks configured to be executed by CPUs, each of which has been configured as the universal CPU, to a CPU configured as the non-universal CPU in the second set, and a second operation of terminating execution of the oldest BG process after being generated among BG processes. |
---|