Information processing device with sleep control processing, control method and non-transitory computer readable recording medium
First Claim
1. An information processing device comprising a main processor and a sub processor, wherein:
- said main processor includes;
a task processor which executes predetermined task processing;
an idle processor which executes selectively first idle processing which reduces power consumption of said main processor and second idle processing which reduces power consumption of said main processor to a higher level than said first idle processing when said task processing is not executed;
a scheduler which manages a schedule of said task processing, said first idle processing, and said second idle processing;
a first clock which measures first elapsed time during which said first idle processing is executed; and
a first elapsed time notifier which notifies said processor of said first elapsed time until occurrence of an interrupt event occurring by inputting from a device during said first idle processing;
said sub processor includes;
a second clock which measures second elapsed time during which second idle processing is executed; and
a second elapsed time notifier which notifies said main processor of said elapsed time until occurrence of an interrupt event occurring by inputting from a device during said second idle processing.
3 Assignments
0 Petitions
Accused Products
Abstract
An information processing device (1) includes a main CPU (2) and a sub CPU (3). The main CPU (2) is provided with a function of managing schedules of task processing and idle processing and executes sleep control which reduces power consumption of the main CPU (2) as the idle processing when the task processing is not executed. The sub CPU (3) measures elapsed time during which the sleep control is executed, detects an interrupt event occurring during the sleep control, and notifies the elapsed time until the interrupt event occurs to the main CPU (2). The main CPU (2) terminates the sleep control in accordance with the notification of the elapsed time and reflects the elapsed time in the schedule. As a result, inconsistency of a timer caused by the sleep control can be solved, and the information processing device which can use a scheduler correctly even if the sleep control is executed is provided.
16 Citations
9 Claims
-
1. An information processing device comprising a main processor and a sub processor, wherein:
-
said main processor includes; a task processor which executes predetermined task processing; an idle processor which executes selectively first idle processing which reduces power consumption of said main processor and second idle processing which reduces power consumption of said main processor to a higher level than said first idle processing when said task processing is not executed; a scheduler which manages a schedule of said task processing, said first idle processing, and said second idle processing; a first clock which measures first elapsed time during which said first idle processing is executed; and a first elapsed time notifier which notifies said processor of said first elapsed time until occurrence of an interrupt event occurring by inputting from a device during said first idle processing; said sub processor includes; a second clock which measures second elapsed time during which second idle processing is executed; and a second elapsed time notifier which notifies said main processor of said elapsed time until occurrence of an interrupt event occurring by inputting from a device during said second idle processing. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A control method of an information processing device provided with a main processor and a sub processor, wherein:
-
said main processor; manages schedules of task processing and idle processing and executes selectively first idle processing which reduces power consumption of said main processor and second idle processing which reduces power consumption of said main processor to a higher level than said first idle processing when said task processing is not executed; measures first elapsed time during which said first idle processing is executed; and notifies said processor of said first elapsed time until occurrence of an interrupt event occurring by inputting from a device during said first idle processing; said sub processor; measures second elapsed time during which second idle processing is executed; and notifies said main processor of said elapsed time until occurrence of an interrupt event occurring by inputting from a device during said second idle processing.
-
-
8. A non-transitory computer readable recording medium that stores control program for an information processing device provided with a main processor and a sub processor, wherein:
-
said program makes said main processor execute; processing of managing schedules of task processing and idle processing; processing of executing selectively first idle processing which reduces power consumption of said main processor and second idle processing which reduces power consumption of said main processor to a higher level than said first idle processing when said task processing is not executed; processing of measuring first elapsed time during which said first idle processing is executed; and processing of notifying said processor of said first elapsed time until occurrence of an interrupt event occurring by inputting from a device during said first idle processing; and
said program makes said sub processor execute;processing of measuring second elapsed time during which second idle processing is executed; and processing of notifying said main processor of said elapsed time until occurrence of an interrupt event occurring by inputting from a device during said second idle processing.
-
-
9. A non-transitory computer readable recording medium that stores control program for an information processing device provided with a main processor and a sub processor, wherein:
-
said program makes said main processor execute; processing of managing schedules of task processing and idle processing and processing of executing selectively first idle processing which reduces power consumption of said main processor and second idle processing which reduces power consumption of said main processor to a higher level than said first idle processing when said task processing is not executed are executed; processing of measuring first elapsed time during which said first idle processing is executed; and processing of notifying said processor of said first elapsed time until occurrence of an interrupt event occurring by inputting from a device during said first idle processing; and said program makes said sub processor execute; processing of measuring second elapsed time during which second idle processing is executed; and processing of notifying said main processor of said elapsed time until occurrence of an interrupt event occurring by inputting from a device during said second idle processing.
-
Specification