摘要 |
An apparatus for and a method of compensating software time in a processor having a sleep mode includes: reading out a time value of a Real Time Clock (RTC) module upon the processor entering the sleep mode to obtain a time value immediately before the processor has entered the sleep mode; reading out a time value of the RTC module upon the processor being released from the sleep mode to obtain a time value immediately after the processor has been released from the sleep mode; and calculating a software compensation time based on the time value immediately before the processor has entered the sleep mode and the time value immediately after the processor has been released from the sleep mode.
|