tcp: compute snd time for rate sample