mkl_mem_stat

Reports amount of memory utilized by Intel MKL memory management software.

Syntax

FORTRAN:

AllocatedBytes = mkl_mem_stat( AllocatedBuffers )

C:

AllocatedBytes = mkl_mem_stat( &AllocatedBuffers );

Include Files

Output Parameters

Name

Type

Description

AllocatedBytes

FORTRAN: INTEGER*8

C: MKL_INT64

Amount of allocated bytes

AllocatedBuffers

FORTRAN: INTEGER*4,

C: int

Number of allocated buffers

Description

The function returns the amount of the allocated memory in the AllocatedBuffers buffers. If there are no allocated buffers at the moment, the function returns 0. Call the mkl_mem_stat() function to check the Intel MKL memory status.

Note that after calling mkl_free_buffers there should not be any allocated buffers.

See Example "mkl_malloc(), mkl_free(), mkl_mem_stat() Usage".

Note iconNote

MKL_MemStat is an obsolete name for the MKL_Mem_Stat function that is referenced in the library for back compatibility purposes but is deprecated and subject to removal in subsequent releases.


Submit feedback on this help topic