Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5_GET_ALLOC_STATS

Gets the memory allocation statistics for the library

Procedure:

H5_GET_ALLOC_STATS ( stats )

Signature:

herr_t H5get_alloc_stats ( H5_alloc_stats_t *stats )

Parameters:
H5_alloc_stats_t *statsOUT: Memory allocation statistics

Description:

H5_GET_ALLOC_STATS gets the memory allocation statistics for the library, if the --enable-memory-alloc-sanity-check option was given when building the library.  Applications can check whether this option was enabled detecting if the H5_MEMORY_ALLOC_SANITY_CHECK macro is defined.  This option is enabled by default for debug builds of the library and disabled by default for non-debug builds.  If the option is not enabled, all the values returned with be 0.  These statistics are global for the entire library, but do not include allocations from chunked dataset I/O filters or non-native VOL connectors.

Returns:

Success:    non-negative

Failure:    negative

Example:

History:
ReleaseChange
1.12.1C function was introduced in this release.

--- Last Modified: March 27, 2020 | 09:27 AM