Method and device for scheduling tasks in multi-core processor

An electronic device comprises a plurality of processing cores and a memory, wherein the memory comprises a plurality of task queues respectively corresponding to the plurality of processing cores and a plurality of task relation tables respectively corresponding to a plurality of tasks. Each task r...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LEE DAE-YOUNG, PARK BEOM-GYU, PARK JONG-LAE, CHO EUN-OK, BIAN SHIYONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:An electronic device comprises a plurality of processing cores and a memory, wherein the memory comprises a plurality of task queues respectively corresponding to the plurality of processing cores and a plurality of task relation tables respectively corresponding to a plurality of tasks. Each task relation table in the plurality of task relation tables comprises one or more entries, the one or more entries represent a mapping relation between an identifier of a wake-up task and an occurrence count, the wake-up task will wake up the wake-up task, and the occurrence count of the wake-up task will be counted. The occurrence count is the number of times that the awakening task awakens the awakened task. At least one processing core of the plurality of processing cores is configured to run a scheduler to perform the following operations: searching for a task set including related tasks; storing a task subset of the task set in at least one task queue of the plurality of task queues based on the plurality of task r