Magnetocaloric effect in the swept field and stepped field measurement limits