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

EnablePeakMemoryStatistics() public method

Enable gathering of peak memory statistics of the MKL memory pool.
public EnablePeakMemoryStatistics ( ) : void
return void
        public void EnablePeakMemoryStatistics()
        {
            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.Enable);
        }