Skip to main content
. 2021 Dec 10;21(24):8271. doi: 10.3390/s21248271
Algorithm 4 OBET-scrubbing
  •   1:

    functionOS_OBET_scrubbing()

  •   2:

        while true do

  •   3:

            if scrubbing_counter0 then

  •   4:

               for each addrOS do

  •   5:

                   if (addr.is_not_accessed_within_24hrs) then

  •   6:

                       READ(addr)       ▹ Read only and collect errors

  •   7:

               enable_request_for_diag_fix_err()

  •   8:

               while (unknown_faulty_list.is_not_empty()) do

  •   9:

                   addrunknown_faulty_list.pop()

  • 10:

                   Send_to_EDF(addr)         ▹ Algorithm 2

  • 11:

               disable_request_for_diag_fix_err()

  • 12:

               scrubbing_counter24

  • 13:

            count_down_hours(scrubbing_counter)