Anaesthesia

Bispectral index is used in?