Searched refs:elapsed_rtc (Results 1 – 1 of 1) sorted by relevance
44 long current_rtc, elapsed_rtc, old, new_offset; in sn_gettimeoffset() local53 elapsed_rtc = (long)(current_rtc - last_wall_rtc); in sn_gettimeoffset()59 if (elapsed_rtc < 0) { in sn_gettimeoffset()64 elapsed_rtc, max(elapsed_rtc, rtc_offset)/ in sn_gettimeoffset()69 new_offset = max(elapsed_rtc, old); in sn_gettimeoffset()