A method may include controlling a bypass pump to introduce blood flow variations to a patient. The method may also include analyzing blood volume in the brain of the patient with respect to the blood flow variations and determining, based on the analyzing, whether an autoregulatory mechanism associated with the brain is operating properly.