1. A method for task scheduling in a scheduler accelerator based on hardware, the method comprising: managing task related information on runtimes of tasks based on tasks in a system; receiving a task enqueue request for a first task; updating the task related information for the first task; identifying a parent group of the first task; determining whether the parent group of the first task is included in a higher group; if the parent group is included in the higher group, updating the task related information for the parent group and identifying the higher group of the parent group; if the parent group is not included in the higher group, selecting a candidate task to be run next after a currently running task for each CPU based on the updated task related information, a task with a shortest runtime among a plurality of tasks being selected as the candidate task; and providing the selected candidate task to each CPU.