 |
HDF5
1.12.0
|
Go to the documentation of this file.
42 #define H5C__MAX_NUM_TYPE_IDS 30
43 #define H5C__PREFIX_LEN 32
51 #define H5C_MAX_ENTRY_SIZE ((size_t)(32 * 1024 * 1024))
53 #ifdef H5_HAVE_PARALLEL
57 #define H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS 1
63 #define H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS 0
67 #define H5C__CLASS_NO_FLAGS_SET ((unsigned)0x0)
68 #define H5C__CLASS_SPECULATIVE_LOAD_FLAG ((unsigned)0x1)
70 #define H5C__CLASS_SKIP_READS ((unsigned)0x2)
71 #define H5C__CLASS_SKIP_WRITES ((unsigned)0x4)
74 #define H5C__SERIALIZE_NO_FLAGS_SET ((unsigned)0)
75 #define H5C__SERIALIZE_RESIZED_FLAG ((unsigned)0x1)
76 #define H5C__SERIALIZE_MOVED_FLAG ((unsigned)0x2)
86 #define H5C__MAX_MAX_CACHE_SIZE ((size_t)(128 * 1024 * 1024))
87 #define H5C__MIN_MAX_CACHE_SIZE ((size_t)(1024))
92 #define H5C__DEFAULT_MAX_CACHE_SIZE ((size_t)(4 * 1024 * 1024))
93 #define H5C__DEFAULT_MIN_CLEAN_SIZE ((size_t)(2 * 1024 * 1024))
96 #define H5C__H5C_CACHE_ENTRY_T_MAGIC 0x005CAC0A
97 #define H5C__H5C_CACHE_ENTRY_T_BAD_MAGIC 0xDeadBeef
100 #define H5C_RESIZE_CFG__VALIDATE_GENERAL 0x1
101 #define H5C_RESIZE_CFG__VALIDATE_INCREMENT 0x2
102 #define H5C_RESIZE_CFG__VALIDATE_DECREMENT 0x4
103 #define H5C_RESIZE_CFG__VALIDATE_INTERACTIONS 0x8
104 #define H5C_RESIZE_CFG__VALIDATE_ALL \
106 H5C_RESIZE_CFG__VALIDATE_GENERAL | \
107 H5C_RESIZE_CFG__VALIDATE_INCREMENT | \
108 H5C_RESIZE_CFG__VALIDATE_DECREMENT | \
109 H5C_RESIZE_CFG__VALIDATE_INTERACTIONS \
113 #define H5C__CURR_AUTO_SIZE_CTL_VER 1
114 #define H5C__CURR_AUTO_RESIZE_RPT_FCN_VER 1
115 #define H5C__CURR_CACHE_IMAGE_CTL_VER 1
118 #define H5C__DEF_AR_UPPER_THRESHHOLD 0.9999f
119 #define H5C__DEF_AR_LOWER_THRESHHOLD 0.9f
120 #define H5C__DEF_AR_MAX_SIZE ((size_t)(16 * 1024 * 1024))
121 #define H5C__DEF_AR_INIT_SIZE ((size_t)( 1 * 1024 * 1024))
122 #define H5C__DEF_AR_MIN_SIZE ((size_t)( 1 * 1024 * 1024))
123 #define H5C__DEF_AR_MIN_CLEAN_FRAC 0.5f
124 #define H5C__DEF_AR_INCREMENT 2.0f
125 #define H5C__DEF_AR_MAX_INCREMENT ((size_t)( 2 * 1024 * 1024))
126 #define H5C__DEF_AR_FLASH_MULTIPLE 1.0f
127 #define H5C__DEV_AR_FLASH_THRESHOLD 0.25f
128 #define H5C__DEF_AR_DECREMENT 0.9f
129 #define H5C__DEF_AR_MAX_DECREMENT ((size_t)( 1 * 1024 * 1024))
130 #define H5C__DEF_AR_EPCHS_B4_EVICT 3
131 #define H5C__DEF_AR_EMPTY_RESERVE 0.05f
132 #define H5C__MIN_AR_EPOCH_LENGTH 100
133 #define H5C__DEF_AR_EPOCH_LENGTH 50000
134 #define H5C__MAX_AR_EPOCH_LENGTH 1000000
188 #define H5C__NO_FLAGS_SET 0x00000
189 #define H5C__SET_FLUSH_MARKER_FLAG 0x00001
190 #define H5C__DELETED_FLAG 0x00002
191 #define H5C__DIRTIED_FLAG 0x00004
192 #define H5C__PIN_ENTRY_FLAG 0x00008
193 #define H5C__UNPIN_ENTRY_FLAG 0x00010
194 #define H5C__FLUSH_INVALIDATE_FLAG 0x00020
195 #define H5C__FLUSH_CLEAR_ONLY_FLAG 0x00040
196 #define H5C__FLUSH_MARKED_ENTRIES_FLAG 0x00080
197 #define H5C__FLUSH_IGNORE_PROTECTED_FLAG 0x00100
198 #define H5C__READ_ONLY_FLAG 0x00200
199 #define H5C__FREE_FILE_SPACE_FLAG 0x00400
200 #define H5C__TAKE_OWNERSHIP_FLAG 0x00800
201 #define H5C__FLUSH_LAST_FLAG 0x01000
202 #define H5C__FLUSH_COLLECTIVELY_FLAG 0x02000
203 #define H5C__EVICT_ALLOW_LAST_PINS_FLAG 0x04000
204 #define H5C__DEL_FROM_SLIST_ON_DESTROY_FLAG 0x08000
205 #define H5C__DURING_FLUSH_FLAG 0x10000
206 #define H5C__GENERATE_IMAGE_FLAG 0x20000
207 #define H5C__UPDATE_PAGE_BUFFER_FLAG 0x40000
211 #define H5C_DO_SANITY_CHECKS 1
212 #define H5C_DO_SLIST_SANITY_CHECKS 0
213 #define H5C_DO_TAGGING_SANITY_CHECKS 1
214 #define H5C_DO_EXTREME_SANITY_CHECKS 0
219 #define H5C_DO_SANITY_CHECKS 0
220 #define H5C_DO_SLIST_SANITY_CHECKS 0
221 #define H5C_DO_TAGGING_SANITY_CHECKS 0
222 #define H5C_DO_EXTREME_SANITY_CHECKS 0
226 #define H5C__SET_CORK 0x1
227 #define H5C__UNCORK 0x2
228 #define H5C__GET_CORKED 0x4
238 #define H5C_DO_MEMORY_SANITY_CHECKS 0
246 #define H5C_COLLECT_CACHE_STATS 1
248 #define H5C_COLLECT_CACHE_STATS 0
257 #if H5C_COLLECT_CACHE_STATS
258 #define H5C_COLLECT_CACHE_ENTRY_STATS 1
260 #define H5C_COLLECT_CACHE_ENTRY_STATS 0
873 size_t image_len,
void *udata_ptr,
size_t *actual_len_ptr);
875 typedef void *(*H5C_deserialize_func_t)(
const void *image_ptr,
876 size_t len,
void *udata_ptr,
hbool_t *dirty_ptr);
879 size_t len,
haddr_t *new_addr_ptr,
size_t *new_len_ptr,
unsigned *flags_ptr);
881 size_t len,
void *
thing);
908 hbool_t was_dirty,
unsigned flags);
956 #define H5C_RING_UNDEFINED 0
957 #define H5C_RING_USER 1
958 #define H5C_RING_RDFSM 2
959 #define H5C_RING_MDFSM 3
960 #define H5C_RING_SBE 4
961 #define H5C_RING_SB 5
962 #define H5C_RING_NTYPES 6
1614 #ifdef H5_HAVE_PARALLEL
1644 #if H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS
1648 #ifdef H5_HAVE_PARALLEL
1676 #if H5C_COLLECT_CACHE_ENTRY_STATS
2102 size_t new_max_cache_size,
size_t old_min_clean_size,
size_t new_min_clean_size);
2194 #define H5C_CI__GEN_MDCI_SBE_MESG ((unsigned)0x0001)
2195 #define H5C_CI__GEN_MDC_IMAGE_BLK ((unsigned)0x0002)
2196 #define H5C_CI__SUPRESS_ENTRY_WRITES ((unsigned)0x0004)
2197 #define H5C_CI__WRITE_CACHE_IMAGE ((unsigned)0x0008)
2203 #define H5C_CI__ALL_FLAGS ((unsigned)0x000F)
2205 #define H5C__DEFAULT_CACHE_IMAGE_CTL \
2207 H5C__CURR_CACHE_IMAGE_CTL_VER, \
2210 H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE, \
2238 size_t old_max_cache_size,
size_t new_max_cache_size,
2239 size_t old_min_clean_size,
size_t new_min_clean_size);
2250 #if H5C_DO_TAGGING_SANITY_CHECKS
2259 size_t *min_clean_size_ptr,
size_t *cur_size_ptr,
2285 void *udata,
unsigned flags);
2299 unsigned int flags);
2302 unsigned int tests);
2322 #ifdef H5_HAVE_PARALLEL
2324 unsigned num_candidates,
haddr_t *candidates_list_ptr,
int mpi_rank,
2339 #ifdef H5_HAVE_PARALLEL
2343 void **entry_ptr_ptr);
HDassert * thing
Definition: H5EA.c:616
unsigned flush_dep_nchildren
Definition: H5Cprivate.h:2258
@ H5C_NOTIFY_ACTION_AFTER_INSERT
Definition: H5Cprivate.h:850
@ H5C_NOTIFY_ACTION_ENTRY_CLEANED
Definition: H5Cprivate.h:863
H5_DLL H5C_t * H5C_create(size_t max_cache_size, size_t min_clean_size, int max_type_id, const H5C_class_t *const *class_table_ptr, H5C_write_permitted_func_t check_write_permitted, hbool_t write_permitted, H5C_log_flush_func_t log_flush, void *aux_ptr)
Definition: H5C.c:243
size_t initial_size
Definition: H5Cprivate.h:2109
H5_DLL herr_t H5C_set_evictions_enabled(H5C_t *cache_ptr, hbool_t evictions_enabled)
Definition: H5C.c:2854
H5_DLL herr_t H5C_start_logging(H5C_t *cache)
Definition: H5Clog.c:194
H5_DLL herr_t H5C_validate_resize_config(H5C_auto_size_ctl_t *config_ptr, unsigned int tests)
Definition: H5C.c:3381
htri_t(* H5C_verify_chksum_func_t)(const void *image_ptr, size_t len, void *udata_ptr)
Definition: H5Cprivate.h:874
H5_DLL herr_t H5C_get_cache_flush_in_progress(H5C_t *cache_ptr, hbool_t *flush_in_progress_ptr)
Definition: H5Cquery.c:169
H5_DLL hbool_t H5C_get_ignore_tags(const H5C_t *cache_ptr)
Definition: H5Ctag.c:163
H5_DLL hbool_t H5C_get_serialization_in_progress(const H5C_t *cache_ptr)
Definition: H5Cdbg.c:1440
int serialization_count
Definition: H5Cprivate.h:2297
@ decrease_disabled
Definition: H5Cprivate.h:2334
H5_DLL herr_t H5C_stop_logging(H5C_t *cache)
Definition: H5Clog.c:238
@ not_full
Definition: H5Cprivate.h:2335
struct H5C_class_t H5C_class_t
hbool_t prefetched
Definition: H5Cprivate.h:2291
@ H5C_NOTIFY_ACTION_BEFORE_EVICT
Definition: H5Cprivate.h:859
hdr f
Definition: H5EA.c:755
int H5C_ring_t
Definition: H5Cprivate.h:964
H5_DLL herr_t H5C_insert_entry(H5F_t *f, const H5C_class_t *type, haddr_t addr, void *thing, unsigned int flags)
Definition: H5C.c:1241
H5_DLL herr_t H5C_evict(H5F_t *f)
Definition: H5C.c:903
@ H5C_NOTIFY_ACTION_CHILD_DIRTIED
Definition: H5Cprivate.h:864
H5_DLL herr_t H5C_get_tag(const void *thing, haddr_t *tag)
Definition: H5Ctag.c:908
H5C_image_len_func_t image_len
Definition: H5Cprivate.h:896
H5_DLL herr_t H5C_validate_cache_image_config(H5C_cache_image_ctl_t *ctl_ptr)
Definition: H5Cimage.c:1700
int32_t lru_rank
Definition: H5Cprivate.h:2284
hbool_t apply_max_increment
Definition: H5Cprivate.h:2119
int32_t age
Definition: H5Cprivate.h:1977
herr_t H5C_verify_tag(int id, haddr_t tag)
Definition: H5Ctag.c:672
Definition: H5Cpkg.h:4642
H5_DLL herr_t H5C_verify_entry_type(H5C_t *cache_ptr, haddr_t addr, const H5C_class_t *expected_type, hbool_t *in_cache_ptr, hbool_t *type_ok_ptr)
Definition: H5Cdbg.c:1525
uint32_t
Definition: H5overflow.txt:38
herr_t(* H5C_get_final_load_size_func_t)(const void *image_ptr, size_t image_len, void *udata_ptr, size_t *actual_len_ptr)
Definition: H5Cprivate.h:872
@ at_max_size
Definition: H5Cprivate.h:2331
H5_DLL herr_t H5C_load_cache_image_on_next_protect(H5F_t *f, haddr_t addr, hsize_t len, hbool_t rw)
Definition: H5Cimage.c:1213
H5_DLL uint32_t H5C_get_num_objs_corked(const H5C_t *cache_ptr)
Definition: H5Ctag.c:189
H5_DLL herr_t H5C_flush_cache(H5F_t *f, unsigned flags)
Definition: H5C.c:1045
CATCH haddr_t
Definition: H5EAdblock.c:162
H5_DLL herr_t H5C_ignore_tags(H5C_t *cache_ptr)
Definition: H5Ctag.c:134
H5_DLL herr_t H5C_unsettle_entry_ring(void *thing)
Definition: H5C.c:3250
int32_t type_id
Definition: H5Cprivate.h:1978
H5_DLL herr_t H5C_remove_entry(void *thing)
Definition: H5C.c:8675
H5_DLL herr_t H5C_get_logging_status(const H5C_t *cache, hbool_t *is_enabled, hbool_t *is_currently_logging)
Definition: H5Clog.c:285
uint64_t fd_child_count
Definition: H5Cprivate.h:1984
H5C_serialize_func_t serialize
Definition: H5Cprivate.h:898
uint32_t image_fd_height
Definition: H5Cprivate.h:2290
@ H5C_NOTIFY_ACTION_CHILD_SERIALIZED
Definition: H5Cprivate.h:867
hbool_t is_protected
Definition: H5Cprivate.h:2236
size_t size
Definition: H5Cprivate.h:2230
H5_DLL herr_t H5C_dump_cache_LRU(H5C_t *cache_ptr, const char *cache_name)
Definition: H5Cdbg.c:199
hbool_t is_pinned
Definition: H5Cprivate.h:2239
H5C_notify_func_t notify
Definition: H5Cprivate.h:899
H5C_deserialize_func_t deserialize
Definition: H5Cprivate.h:895
unsigned flush_dep_ndirty_children
Definition: H5Cprivate.h:2259
@ H5C_LOG_STYLE_JSON
Definition: H5Cprivate.h:2224
H5C_ring_t ring
Definition: H5Cprivate.h:1976
H5_DLL herr_t H5C_unprotect(H5F_t *f, haddr_t addr, void *thing, unsigned int flags)
herr_t(* H5C_get_initial_load_size_func_t)(void *udata_ptr, size_t *image_len_ptr)
Definition: H5Cprivate.h:871
size_t size
Definition: H5Cprivate.h:1975
H5_DLL herr_t H5C_set_cache_image_config(const H5F_t *f, H5C_t *cache_ptr, H5C_cache_image_ctl_t *config_ptr)
Definition: H5Cimage.c:1620
int32_t clears
Definition: H5Cprivate.h:2308
struct H5C_cache_entry_t ** flush_dep_parent
Definition: H5Cprivate.h:2255
H5C_get_initial_load_size_func_t get_initial_load_size
Definition: H5Cprivate.h:892
H5_DLL herr_t H5C_get_evictions_enabled(const H5C_t *cache_ptr, hbool_t *evictions_enabled_ptr)
Definition: H5Cquery.c:333
struct H5C_cache_entry_t * tl_prev
Definition: H5Cprivate.h:2302
@ flash_increase
Definition: H5Cprivate.h:2329
herr_t(* H5C_notify_func_t)(H5C_notify_action_t action, void *thing)
Definition: H5Cprivate.h:882
herr_t(* H5C_image_len_func_t)(const void *thing, size_t *image_len_ptr)
Definition: H5Cprivate.h:877
H5_DLL herr_t H5C_dump_cache(H5C_t *cache_ptr, const char *cache_name)
Definition: H5Cdbg.c:91
int64_t
Definition: H5overflow.txt:35
H5_DLL herr_t H5C_cork(H5C_t *cache_ptr, haddr_t obj_addr, unsigned action, hbool_t *corked)
Definition: H5C.c:7661
@ H5C_NOTIFY_ACTION_CHILD_UNSERIALIZED
Definition: H5Cprivate.h:866
hbool_t apply_empty_reserve
Definition: H5Cprivate.h:2132
H5_DLL herr_t H5C_validate_index_list(H5C_t *cache_ptr)
Definition: H5Cdbg.c:1251
H5_DLL herr_t H5C_destroy_flush_dependency(void *parent_thing, void *child_thing)
Definition: H5C.c:3682
Definition: H5Cprivate.h:2214
struct H5C_cache_entry_t * il_prev
Definition: H5Cprivate.h:2268
H5_DLL herr_t H5C_reset_cache_hit_rate_stats(H5C_t *cache_ptr)
Definition: H5C.c:2618
H5_DLL herr_t H5C_mark_entry_dirty(void *thing)
Definition: H5C.c:1545
H5_DLL hbool_t H5C_cache_image_pending(const H5C_t *cache_ptr)
Definition: H5Cimage.c:163
H5C_cache_incr_mode
Definition: H5Cpublic.h:37
int htri_t
Definition: H5public.h:160
H5_DLL herr_t H5C_get_cache_size(H5C_t *cache_ptr, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t *cur_size_ptr, uint32_t *cur_num_entries_ptr)
Definition: H5Cquery.c:128
H5_DLL herr_t H5C_dump_cache_skip_list(H5C_t *cache_ptr, char *calling_fcn)
Definition: H5Cdbg.c:278
herr_t(* H5C_pre_serialize_func_t)(H5F_t *f, void *thing, haddr_t addr, size_t len, haddr_t *new_addr_ptr, size_t *new_len_ptr, unsigned *flags_ptr)
Definition: H5Cprivate.h:878
H5C_cache_decr_mode
Definition: H5Cpublic.h:49
H5_DLL herr_t H5C_prep_for_file_close(H5F_t *f)
Definition: H5C.c:737
@ decrease
Definition: H5Cprivate.h:2330
H5C_verify_chksum_func_t verify_chksum
Definition: H5Cprivate.h:894
hbool_t is_read_only
Definition: H5Cprivate.h:2237
herr_t(* H5C_log_flush_func_t)(H5C_t *cache_ptr, haddr_t addr, hbool_t was_dirty, unsigned flags)
Definition: H5Cprivate.h:907
hbool_t flush_in_progress
Definition: H5Cprivate.h:2248
hbool_t prefetched_dirty
Definition: H5Cprivate.h:2294
int32_t age
Definition: H5Cprivate.h:2293
int32_t accesses
Definition: H5Cprivate.h:2307
uint32_t magic
Definition: H5Cprivate.h:1973
struct H5C_cache_entry_t * next
Definition: H5Cprivate.h:2271
double flash_threshold
Definition: H5Cprivate.h:2123
hbool_t is_dirty
Definition: H5Cprivate.h:2234
H5C_resize_status
Definition: H5Cprivate.h:2088
H5C_notify_action_t
Definition: H5Cprivate.h:849
* image_len
Definition: H5EAcache.c:449
size_t min_size
Definition: H5Cprivate.h:2112
H5_DLL hbool_t H5C_cache_is_clean(const H5C_t *cache_ptr, H5C_ring_t inner_ring)
Definition: H5Cdbg.c:1472
haddr_t * fd_parent_addrs
Definition: H5Cprivate.h:2287
@ at_min_size
Definition: H5Cprivate.h:2332
H5_DLL herr_t H5C_get_cache_image_config(const H5C_t *cache_ptr, H5C_cache_image_ctl_t *config_ptr)
Definition: H5Cimage.c:929
@ H5C_NOTIFY_ACTION_AFTER_FLUSH
Definition: H5Cprivate.h:856
unsigned flush_dep_nparents
Definition: H5Cprivate.h:2256
int32_t lru_rank
Definition: H5Cprivate.h:1979
struct H5C_auto_size_ctl_t H5C_auto_size_ctl_t
int32_t flushes
Definition: H5Cprivate.h:2309
int32_t version
Definition: H5Cprivate.h:2215
H5_DLL void * H5C_get_aux_ptr(const H5C_t *cache_ptr)
Definition: H5Cquery.c:369
haddr_t * fd_parent_addrs
Definition: H5Cprivate.h:1983
hbool_t destroy_in_progress
Definition: H5Cprivate.h:2249
H5_DLL herr_t H5C_mark_entry_serialized(void *thing)
Definition: H5C.c:1763
struct H5C_tag_info_t * tag_info
Definition: H5Cprivate.h:2303
@ H5C_LOG_STYLE_TRACE
Definition: H5Cprivate.h:2225
enum H5C_cache_decr_mode decr_mode
Definition: H5Cprivate.h:2126
void *(* H5C_deserialize_func_t)(const void *image_ptr, size_t len, void *udata_ptr, hbool_t *dirty_ptr)
Definition: H5Cprivate.h:875
double lower_hr_threshold
Definition: H5Cprivate.h:2117
struct H5C_cache_entry_t * il_next
Definition: H5Cprivate.h:2267
hbool_t in_slist
Definition: H5Cprivate.h:2240
const H5C_class_t * type
Definition: H5Cprivate.h:2233
H5_DLL herr_t H5C_mark_entry_unserialized(void *thing)
Definition: H5C.c:1718
size_t max_size
Definition: H5Cprivate.h:2111
@ increase_disabled
Definition: H5Cprivate.h:2333
H5_DLL herr_t H5C_expunge_tag_type_metadata(H5F_t *f, haddr_t tag, int type_id, unsigned flags)
Definition: H5Ctag.c:864
H5_DLL herr_t H5C_get_entry_ptr_from_addr(H5C_t *cache_ptr, haddr_t addr, void **entry_ptr_ptr)
Definition: H5Cdbg.c:1392
herr_t(* H5C_serialize_func_t)(const H5F_t *f, void *image_ptr, size_t len, void *thing)
Definition: H5Cprivate.h:880
H5_DLL herr_t H5C_pin_protected_entry(void *thing)
Definition: H5C.c:2110
@ H5C_NOTIFY_ACTION_CHILD_CLEANED
Definition: H5Cprivate.h:865
int ro_ref_count
Definition: H5Cprivate.h:2238
unsigned flush_dep_nunser_children
Definition: H5Cprivate.h:2260
uint64_t
Definition: H5overflow.txt:39
H5C_pre_serialize_func_t pre_serialize
Definition: H5Cprivate.h:897
hbool_t flush_me_last
Definition: H5Cprivate.h:2242
int32_t version
Definition: H5Cprivate.h:2106
unsigned flags
Definition: H5Cprivate.h:2219
H5_DLL herr_t H5C_get_cache_hit_rate(H5C_t *cache_ptr, double *hit_rate_ptr)
Definition: H5Cquery.c:203
enum H5F_mem_t H5FD_mem_t
Definition: H5FDpublic.h:28
H5_DLL herr_t H5C_force_cache_image_load(H5F_t *f)
Definition: H5Cimage.c:887
struct H5C_cache_entry_t * tl_next
Definition: H5Cprivate.h:2301
struct H5C_cache_entry_t * ht_next
Definition: H5Cprivate.h:2265
haddr_t addr
Definition: H5Cprivate.h:1974
struct H5C_cache_entry_t * prev
Definition: H5Cprivate.h:2272
Definition: H5Cprivate.h:887
Definition: H5Cpkg.h:3438
hbool_t save_resize_status
Definition: H5Cprivate.h:2217
H5_DLL herr_t H5C_unpin_entry(void *thing)
Definition: H5C.c:2898
H5_DLL herr_t H5C_move_entry(H5C_t *cache_ptr, const H5C_class_t *type, haddr_t old_addr, haddr_t new_addr)
Definition: H5C.c:1812
H5C_cache_flash_incr_mode
Definition: H5Cpublic.h:43
Definition: H5Cprivate.h:2104
hbool_t flush_marker
Definition: H5Cprivate.h:2241
unsigned flags
Definition: H5Cprivate.h:891
H5_DLL herr_t H5C_flush_dependency_exists(H5C_t *cache_ptr, haddr_t parent_addr, haddr_t child_addr, hbool_t *fd_exists_ptr)
Definition: H5Cdbg.c:1185
enum H5C_cache_incr_mode incr_mode
Definition: H5Cprivate.h:2116
hbool_t generate_image
Definition: H5Cprivate.h:2216
enum H5C_cache_flash_incr_mode flash_incr_mode
Definition: H5Cprivate.h:2121
double upper_hr_threshold
Definition: H5Cprivate.h:2127
double flash_multiple
Definition: H5Cprivate.h:2122
herr_t(* H5C_free_icr_func_t)(void *thing)
Definition: H5Cprivate.h:883
struct H5C_cache_entry_t H5C_cache_entry_t
#define H5_DLL
Definition: H5api_adpt.h:234
uint64_t fd_dirty_child_count
Definition: H5Cprivate.h:2289
H5_DLL herr_t H5C_get_cache_auto_resize_config(const H5C_t *cache_ptr, H5C_auto_size_ctl_t *config_ptr)
Definition: H5Cquery.c:89
haddr_t addr
Definition: H5Cprivate.h:2229
hbool_t set_initial_size
Definition: H5Cprivate.h:2108
H5C_t * cache_ptr
Definition: H5Cprivate.h:2228
@ increase
Definition: H5Cprivate.h:2328
H5_DLL herr_t H5C_set_cache_auto_resize_config(H5C_t *cache_ptr, H5C_auto_size_ctl_t *config_ptr)
Definition: H5C.c:2655
herr_t(* H5C_write_permitted_func_t)(const H5F_t *f, hbool_t *write_permitted_ptr)
Definition: H5Cprivate.h:905
H5_DLL herr_t H5C_evict_tagged_entries(H5F_t *f, haddr_t tag, hbool_t match_global)
Definition: H5Ctag.c:523
hbool_t pinned_from_client
Definition: H5Cprivate.h:2261
CATCH unable to release heap prefix
Definition: H5HL.c:380
double empty_reserve
Definition: H5Cprivate.h:2133
int id
Definition: H5Cprivate.h:888
uint64_t fd_parent_count
Definition: H5Cprivate.h:2286
H5FD_mem_t mem_type
Definition: H5Cprivate.h:890
uint64_t fd_child_count
Definition: H5Cprivate.h:2288
H5_DLL herr_t H5C_flush_to_min_clean(H5F_t *f)
Definition: H5C.c:1190
H5_DLL herr_t H5C_mark_entry_clean(void *thing)
Definition: H5C.c:1642
double decrement
Definition: H5Cprivate.h:2128
unsigned flush_dep_parent_nalloc
Definition: H5Cprivate.h:2257
H5_DLL herr_t H5C_expunge_entry(H5F_t *f, const H5C_class_t *type, haddr_t addr, unsigned flags)
Definition: H5C.c:936
int32_t pins
Definition: H5Cprivate.h:2310
void * image_ptr
Definition: H5Cprivate.h:2231
double increment
Definition: H5Cprivate.h:2118
herr_t(* H5C_get_fsf_size_t)(const void *thing, hsize_t *fsf_size_ptr)
Definition: H5Cprivate.h:884
H5_DLL herr_t H5C_cache_image_status(H5F_t *f, hbool_t *load_ci_ptr, hbool_t *write_ci_ptr)
Definition: H5Cimage.c:202
H5C_log_style_t
Definition: H5Cprivate.h:2223
double min_clean_fraction
Definition: H5Cprivate.h:2110
@ H5C_NOTIFY_ACTION_ENTRY_DIRTIED
Definition: H5Cprivate.h:862
H5_DLL void H5C_def_auto_resize_rpt_fcn(H5C_t *cache_ptr, int32_t version, double hit_rate, enum H5C_resize_status status, size_t old_max_cache_size, size_t new_max_cache_size, size_t old_min_clean_size, size_t new_min_clean_size)
Definition: H5C.c:523
uint64_t fd_parent_count
Definition: H5Cprivate.h:1982
int herr_t
Definition: H5public.h:128
size_t max_decrement
Definition: H5Cprivate.h:2130
Definition: H5Cprivate.h:1830
int32_t epochs_before_eviction
Definition: H5Cprivate.h:2131
H5_DLL herr_t H5C_dest(H5F_t *f)
Definition: H5C.c:834
H5_DLL herr_t H5C_retag_entries(H5C_t *cache_ptr, haddr_t src_tag, haddr_t dest_tag)
Definition: H5Ctag.c:786
bool hbool_t
Definition: H5public.h:159
H5_DLL herr_t H5C_get_entry_status(const H5F_t *f, haddr_t addr, size_t *size_ptr, hbool_t *in_cache_ptr, hbool_t *is_dirty_ptr, hbool_t *is_protected_ptr, hbool_t *is_pinned_ptr, hbool_t *is_corked_ptr, hbool_t *is_flush_dep_parent_ptr, hbool_t *is_flush_dep_child_ptr, hbool_t *image_up_to_date_ptr)
Definition: H5Cquery.c:251
H5_DLL herr_t H5C_image_stats(H5C_t *cache_ptr, hbool_t print_header)
Definition: H5Cimage.c:962
struct H5C_cache_entry_t * ht_prev
Definition: H5Cprivate.h:2266
H5C_ring_t ring
Definition: H5Cprivate.h:2252
H5_DLL herr_t H5C_get_entry_ring(const H5F_t *f, haddr_t addr, H5C_ring_t *ring)
Definition: H5Cquery.c:397
struct H5C_cache_image_ctl_t H5C_cache_image_ctl_t
Definition: H5Cprivate.h:1597
H5_DLL void * H5C_protect(H5F_t *f, const H5C_class_t *type, haddr_t addr, void *udata, unsigned flags)
Definition: H5C.c:2176
hbool_t image_dirty
Definition: H5Cprivate.h:2285
H5_DLL herr_t H5C_resize_entry(void *thing, size_t new_size)
Definition: H5C.c:1962
H5_DLL herr_t H5C_stats(H5C_t *cache_ptr, const char *cache_name, hbool_t display_detailed_stats)
Definition: H5Cdbg.c:490
hsize_t
Definition: H5overflow.txt:44
H5_DLL herr_t H5C_set_prefix(H5C_t *cache_ptr, char *prefix)
Definition: H5Cdbg.c:458
hbool_t dirtied
Definition: H5Cprivate.h:2235
H5_DLL void H5C_stats__reset(H5C_t *cache_ptr)
Definition: H5Cdbg.c:987
int64_t epoch_length
Definition: H5Cprivate.h:2113
uint32_t magic
Definition: H5Cprivate.h:2227
hbool_t pinned_from_cache
Definition: H5Cprivate.h:2262
void * image_ptr
Definition: H5Cprivate.h:1986
H5C_auto_resize_rpt_fcn rpt_fcn
Definition: H5Cprivate.h:2107
H5_DLL herr_t H5C_create_flush_dependency(void *parent_thing, void *child_thing)
Definition: H5C.c:3547
uint64_t fd_dirty_child_count
Definition: H5Cprivate.h:1985
@ H5C_NOTIFY_ACTION_AFTER_LOAD
Definition: H5Cprivate.h:853
H5C_get_fsf_size_t fsf_size
Definition: H5Cprivate.h:901
H5C_get_final_load_size_func_t get_final_load_size
Definition: H5Cprivate.h:893
H5_DLL herr_t H5C_get_mdc_image_info(H5C_t *cache_ptr, haddr_t *image_addr, hsize_t *image_len)
Definition: H5Cquery.c:437
hbool_t is_dirty
Definition: H5Cprivate.h:1980
void(* H5C_auto_resize_rpt_fcn)(H5C_t *cache_ptr, int32_t version, double hit_rate, enum H5C_resize_status status, size_t old_max_cache_size, size_t new_max_cache_size, size_t old_min_clean_size, size_t new_min_clean_size)
Definition: H5Cprivate.h:2100
const char * name
Definition: H5Cprivate.h:889
int prefetch_type_id
Definition: H5Cprivate.h:2292
size_t max_increment
Definition: H5Cprivate.h:2120
hbool_t image_up_to_date
Definition: H5Cprivate.h:2232
unsigned image_fd_height
Definition: H5Cprivate.h:1981
hbool_t include_in_image
Definition: H5Cprivate.h:2283
@ in_spec
Definition: H5Cprivate.h:2327
H5_DLL herr_t H5C_unsettle_ring(H5F_t *f, H5C_ring_t ring)
Definition: H5C.c:3322
hbool_t apply_max_decrement
Definition: H5Cprivate.h:2129
H5C_free_icr_func_t free_icr
Definition: H5Cprivate.h:900
H5_DLL herr_t H5C_flush_tagged_entries(H5F_t *f, haddr_t tag)
Definition: H5Ctag.c:742
struct H5C_image_entry_t H5C_image_entry_t
int32_t entry_ageout
Definition: H5Cprivate.h:2218