remember starttime determine total_number_of_units loop as long there is a unit to process process unit calculate elapsed time calculate average of elapsed time per unit multiply average with total number of units #this gets the predicted runtime end loop