Finalizing delay accounting code