diff options
author | John Mainzer <mainzer@hdfgroup.org> | 2005-04-28 16:40:07 (GMT) |
---|---|---|
committer | John Mainzer <mainzer@hdfgroup.org> | 2005-04-28 16:40:07 (GMT) |
commit | a9ba92287d48568c901ec906b8aaf32ff32076aa (patch) | |
tree | f79047eaf353389a61b3395bab0a169385a6824b /src/H5Cpublic.h | |
parent | 097185980325a30153ceb0090f128a8f4e873a77 (diff) | |
download | hdf5-a9ba92287d48568c901ec906b8aaf32ff32076aa.zip hdf5-a9ba92287d48568c901ec906b8aaf32ff32076aa.tar.gz hdf5-a9ba92287d48568c901ec906b8aaf32ff32076aa.tar.bz2 |
[svn-r10688] Purpose:
Add API calls allowing user control of the metadata cache.
Description:
Prior to this update, the metadata cache was not configurable
from outside the library.
Solution:
Add API calls allowing the user to configure the metadata cache
either at file open time, or for any open file. Also added calls
permitting the user to monitor cache size and hit rate. These
latter facilities are needed for "manual" cache size control
Platforms tested:
h5committested
Misc. update:
Diffstat (limited to 'src/H5Cpublic.h')
-rw-r--r-- | src/H5Cpublic.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/H5Cpublic.h b/src/H5Cpublic.h index d4e82be..cb0fa13 100644 --- a/src/H5Cpublic.h +++ b/src/H5Cpublic.h @@ -34,6 +34,20 @@ extern "C" { #endif +enum H5C_cache_incr_mode +{ + H5C_incr__off, + H5C_incr__threshold +}; + +enum H5C_cache_decr_mode +{ + H5C_decr__off, + H5C_decr__threshold, + H5C_decr__age_out, + H5C_decr__age_out_with_threshold +}; + #ifdef __cplusplus } #endif |