Moves some timing func from benchutil to parlib