Searched refs:units_per_sec (Results 1 – 1 of 1) sorted by relevance
71 int64_t units_per_sec, in to_seconds_from_sub_second_time() argument80 out.tv_sec = time_in_units / units_per_sec; in to_seconds_from_sub_second_time()82 out.tv_sec = (-((units_per_sec - 1) - (time_in_units + units_per_sec)) / in to_seconds_from_sub_second_time()83 units_per_sec) - in to_seconds_from_sub_second_time()87 static_cast<int32_t>((time_in_units - out.tv_sec * units_per_sec) * in to_seconds_from_sub_second_time()88 GPR_NS_PER_SEC / units_per_sec); in to_seconds_from_sub_second_time()