Corrects hrtime calculation.