diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-03-10 23:37:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2020-03-23 23:04:33 (GMT) |
commit | 4065a506bc479ffc4c0cd46d2aa8ef47005e7f67 (patch) | |
tree | 44dbd6af8eae7df962a2834eb4a5ae373f01852e /src/H5public.h | |
parent | 3656fb07eff142994f10d9b47d7dd13e9ec5013b (diff) | |
download | hdf5-4065a506bc479ffc4c0cd46d2aa8ef47005e7f67.zip hdf5-4065a506bc479ffc4c0cd46d2aa8ef47005e7f67.tar.gz hdf5-4065a506bc479ffc4c0cd46d2aa8ef47005e7f67.tar.bz2 |
Add routines to query the library's free list sizes and allocation stats.
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h index fc41a7f..f8a9d58 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -348,6 +348,11 @@ H5_DLL herr_t H5garbage_collect(void); H5_DLL herr_t H5set_free_list_limits (int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim); +H5_DLL herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, + size_t *blk_size, size_t *fac_size); +H5_DLL herr_t H5get_alloc_stats(unsigned long long *total_alloc_bytes, size_t *curr_alloc_bytes, + size_t *peak_alloc_bytes, size_t *max_block_size, size_t *total_alloc_blocks_count, + size_t *curr_alloc_blocks_count, size_t *peak_alloc_blocks_count); H5_DLL herr_t H5get_libversion(unsigned *majnum, unsigned *minnum, unsigned *relnum); H5_DLL herr_t H5check_version(unsigned majnum, unsigned minnum, |