摘要 |
<p><P>PROBLEM TO BE SOLVED: To provide a technology for correcting a system time without influencing a processor allocation time for other tasks in a multitasking system. <P>SOLUTION: The time correction method is employed for time correction by a step for acquiring a standard time, a step for calculating the time difference between the acquired standard time and the system time, and a step for correcting the system time on the basis of the calculated time difference by a time correction task which is periodically executed. When the calculated time difference is larger than a predetermined maximum correction amount which is a value smaller than a processor allocation time allocated for one execution of the time correction task, the time correction task corrects the system time through multiple executions and sets a time correction amount for one execution to be within the maximum correction amount. <P>COPYRIGHT: (C)2007,JPO&INPIT</p> |