Searched refs:new_clock (Results 1 – 1 of 1) sorted by relevance
58 timespec new_clock; in convert_timespec_clocks() local59 clock_gettime(new_clockbase, &new_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()