MathNet.Numerics.Providers.LinearAlgebra.Mkl.MklLinearAlgebraProvider.DisablePeakMemoryStatistics C# (CSharp) Method

DisablePeakMemoryStatistics() public method

Disable gathering of peak memory statistics of the MKL memory pool.
public DisablePeakMemoryStatistics ( ) : void
return void
        public void DisablePeakMemoryStatistics()
        {
            if (SafeNativeMethods.query_capability(67) < 1)
            {
                throw new NotSupportedException("MKL Native Provider does not support memory management functions. Consider upgrading to a newer version.");
            }

            SafeNativeMethods.peak_mem_usage((int)MklMemoryRequestMode.Disable);
        }