the measurer now sleeps more accurate (it takes the processing time into account so that the overall runtime does not diverge too much