摘要 |
According to one embodiment, a semiconductor integrated circuit has peripheral devices and a clock supply control circuit which controls supply of clock signals to the devices. An operating system for controlling execution of tasks includes a task information registration unit, a dispatcher, a semaphore managing unit, and a power consumption managing unit. The task information registration unit registers peripheral device use information as task information. The dispatcher controls start of any one of the tasks when an execution request of the task is received and to control switching task execution. The semaphore managing unit to manage state of acquisition and store semaphores. The power consumption managing unit refers to the peripheral device use information and the semaphores, and issues a request to the clock supply control circuit so as to supply or stop the clock signal, in accordance with execution states of the tasks and acquisition state of the semaphores.
|