summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@koziol.gov>2020-03-10 23:37:55 (GMT)
committerQuincey Koziol <koziol@koziol.gov>2020-03-10 23:37:55 (GMT)
commit04b8cc82a858aeb8a0beb3738984240b528952dc (patch)
tree708c35662a0be75429403326035b767693640437 /src/H5public.h
parent9abbdeaa66c70a00b6a7bedee9c76d2493a8e947 (diff)
downloadhdf5-04b8cc82a858aeb8a0beb3738984240b528952dc.zip
hdf5-04b8cc82a858aeb8a0beb3738984240b528952dc.tar.gz
hdf5-04b8cc82a858aeb8a0beb3738984240b528952dc.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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 3312cf4..60bad93 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -386,6 +386,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,