diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-03-10 23:37:55 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:56 (GMT) |
commit | 20df4bd395e9b0540b2c362f1c046cf115dc4edf (patch) | |
tree | ab3aa58c03f21fb6c3c72d9393d278ba258e2e92 /src/H5public.h | |
parent | 7afe25de204d95fc345af6369d31cb8d73ca1b6b (diff) | |
download | hdf5-20df4bd395e9b0540b2c362f1c046cf115dc4edf.zip hdf5-20df4bd395e9b0540b2c362f1c046cf115dc4edf.tar.gz hdf5-20df4bd395e9b0540b2c362f1c046cf115dc4edf.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 b0482e9..99b46d1 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -407,6 +407,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, |