Abstract:
The present invention relates generally to a task distribution method and apparatus for systems in a real-time Operating System (OS) environment using a multi-core Central Processing Unit (CPU). The present invention is configured to set roles of multiple cores included in the multi-core system in such a way as to divide the cores into real-time cores for executing real-time tasks and non-real-time cores for executing non-real-time tasks, allocate real-time tasks to cores, a role of which has been set to that of real-time cores, and non-real-time tasks to cores, a role of which has been set to that of non-real-time cores, based on the set roles of the cores, allow the respective cores to execute the tasks allocated thereto, and collect information about a procedure of executing the tasks as task execution procedure information, and change the set roles of the cores based on the collected information.