摘要 |
<P>PROBLEM TO BE SOLVED: To provide an information processor which is not restricted by the start cycle of a scheduler and is free from deterioration in precision due to the processing of the scheduler in information processing for which a control cycle which is quicker and more precise than the scheduling cycle of a general-purpose OS or the like is required, and to provide a control method therefor. Ž<P>SOLUTION: The information processor includes a task processing execution part, a timer, a correction part for starting the task processing execution part, a cyclic processing registration part, a correction part start means for starting the correction part and a clock. In the information processor, the correction part calculates a value as an initial standby period by subtracting the cycle from the maximum value of a difference in the start time of each cycle, and starts the cyclic processing of the task processing execution part after the arrival of the next target standby time when the task processing execution part is started. After the lapse of an initial standby period by a cyclic interruption timer, the next target standby time is calculated by adding the cycle to the current time, and the cyclic processing is executed. After the arrival of the next standby time when the task processing execution part is started by timer interruption again, the next target standby time is re-calculated, and the cyclic processing is executed. Ž<P>COPYRIGHT: (C)2010,JPO&INPIT Ž
|