H5P.get_chunk_cache

Raw data chunk cache parameters

Syntax

[rdcc_nslots,rdcc_nbytes,rdcc_w0] = H5P.get_chunk_cache(dapl_id)

Description

[rdcc_nslots,rdcc_nbytes,rdcc_w0] = H5P.get_chunk_cache(dapl_id) retrieves the number of chunk slots in the raw data chunk cache hash table (rdcc_nslots), the maximum possible number of bytes in the raw data chunk cache (rdcc_nbytes), and the preemption policy value (rdcc_w0) on a dataset access property list.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/vlen3D');
dapl = H5D.get_access_plist(dset_id);
[rrdcc_nslots,rdcc_nbytes,rdcc_w0] = H5P.get_chunk_cache(dapl);
H5P.close(dapl);
H5D.close(dset_id);
H5F.close(fid);
Was this topic helpful?