Bispectral index detects period of cerebral hypoperfusion during cardiopulmonary bypass.