fix runtime calculation

now accounts only for actual running time