The severity of mitral stenosis is assessed by