added log for finding the duration of the marking phase