measure total runtime in heat transfer example