Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

H5P.set_chunk_cache

Set raw data chunk cache parameters

Syntax

H5P.set_chunk_cache(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0)

Description

H5P.set_chunk_cache(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0) sets the number of elements (rdcc_nslots), the total number of bytes (rdcc_nbytes), and the preemption policy value (rdcc_w0) in the raw data chunk cache.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/vlen3D');
dapl = H5D.get_access_plist(dset_id);
H5P.set_chunk_cache(dapl,500,1e6,0.7);
H5P.close(dapl);
H5D.close(dset_id);
H5F.close(fid);
Was this topic helpful?