Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-18 09:16:01

0001 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
0002  * Copyright by The HDF Group.                                               *
0003  * All rights reserved.                                                      *
0004  *                                                                           *
0005  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
0006  * terms governing use, modification, and redistribution, is contained in    *
0007  * the COPYING file, which can be found at the root of the source code       *
0008  * distribution tree, or in https://www.hdfgroup.org/licenses.               *
0009  * If you do not have access to either file, you may request a copy from     *
0010  * help@hdfgroup.org.                                                        *
0011  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
0012 
0013 /*-------------------------------------------------------------------------
0014  *
0015  * Created:     H5Cpublic.h
0016  *
0017  * Purpose:     Public header file for cache functions
0018  *
0019  *-------------------------------------------------------------------------
0020  */
0021 #ifndef H5Cpublic_H
0022 #define H5Cpublic_H
0023 
0024 #include "H5public.h" /* Generic Functions                        */
0025 
0026 enum H5C_cache_incr_mode {
0027     H5C_incr__off,
0028     /**<Automatic cache size increase is disabled, and the remaining increment fields are ignored.*/
0029 
0030     H5C_incr__threshold
0031     /**<Automatic cache size increase is enabled using the hit rate threshold algorithm.*/
0032 };
0033 
0034 enum H5C_cache_flash_incr_mode {
0035     H5C_flash_incr__off,
0036     /**<Flash cache size increase is disabled.*/
0037 
0038     H5C_flash_incr__add_space
0039     /**<Flash cache size increase is enabled using the add space algorithm.*/
0040 };
0041 
0042 enum H5C_cache_decr_mode {
0043     H5C_decr__off,
0044     /**<Automatic cache size decrease is disabled.*/
0045 
0046     H5C_decr__threshold,
0047     /**<Automatic cache size decrease is enabled  using the hit rate threshold algorithm.*/
0048 
0049     H5C_decr__age_out,
0050     /**<Automatic cache size decrease is enabled using the ageout algorithm. */
0051 
0052     H5C_decr__age_out_with_threshold
0053     /**<Automatic cache size decrease is enabled using the ageout with hit rate threshold algorithm.*/
0054 };
0055 
0056 #endif