calculate running time