Searched refs:old_clock (Results 1 – 1 of 1) sorted by relevance
60 timespec old_clock; in convert_timespec_clocks() local61 clock_gettime(old_clockbase, &old_clock); in convert_timespec_clocks()64 new_time.tv_sec = old_time.tv_sec - old_clock.tv_sec + new_clock.tv_sec; in convert_timespec_clocks()65 new_time.tv_nsec = old_time.tv_nsec - old_clock.tv_nsec + new_clock.tv_nsec; in convert_timespec_clocks()