private mem_stat ( [ allocatedBuffers ) : long | ||
allocatedBuffers | [ | |
return | long |
/// <summary> /// Retrieves information about the MKL memory pool. /// </summary> /// <param name="allocatedBuffers">On output, returns the number of memory buffers allocated.</param> /// <returns>Returns the number of bytes allocated to all memory buffers.</returns> public long MemoryStatistics(out int allocatedBuffers) { if (SafeNativeMethods.query_capability((int)ProviderConfig.Memory) < 1) { throw new NotSupportedException("MKL Native Provider does not support memory management functions. Consider upgrading to a newer version."); } return(SafeNativeMethods.mem_stat(out allocatedBuffers)); }
/// <summary> /// Retrieves information about the the MKL memory pool. /// </summary> /// <param name="allocatedBuffers">On output, returns the number of memory buffers allocated.</param> /// <returns>Returns the number of bytes allocated to all memory buffers.</returns> public long MemoryStatistics(out int allocatedBuffers) { return(SafeNativeMethods.mem_stat(out allocatedBuffers)); }