Skip to main content
. 2021 Sep 19;21(18):6289. doi: 10.3390/s21186289
Algorithm 4: BA-MPCUBIC: Time synchronization between the SFs for RTT_filter, ECN_filter, and PL_filter
Initialization:
current_time = system_current_time
update_time_of_RTT_filter = current_time + 1.0 sec
sync = false
Upon reception of ACK:
temp_update_time = system_current_time + 3.0 sec
if sync = false then
  for all subflow i do
   if current_time < update_time_of_ RTT_filter_ SFi and temp_update_time > update_time_of_ RTT_filter_ SFi then
    temp_update_time = update_time_of_ RTT_filter_ SFi
   end if
   update_time_of_ RTT_filter = temp_update_time
   update_time_of_ ECN_filter = temp_update_time
   sync = true
  end for
end if