summaryrefslogtreecommitdiffstats
path: root/src/H5Bprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-06-01 23:45:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-06-01 23:45:11 (GMT)
commitae69e30f76aff9cee3a948d38505fdb33d63a242 (patch)
tree16c9fe3d9ecf886d619e6d91b38a9593cd3ec85b /src/H5Bprivate.h
parentecb52e75d3394f8f373ae37ff2487228997b43a4 (diff)
downloadhdf5-ae69e30f76aff9cee3a948d38505fdb33d63a242.zip
hdf5-ae69e30f76aff9cee3a948d38505fdb33d63a242.tar.gz
hdf5-ae69e30f76aff9cee3a948d38505fdb33d63a242.tar.bz2
[svn-r2318] Rearranged metadata caching to put caching information in the objects being
cached instead of in separate structures. This reduces the amount of memory the hash table uses by about half. This is the initial step along the path of speeding up the metadata caching.
Diffstat (limited to 'src/H5Bprivate.h')
-rw-r--r--src/H5Bprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5Bprivate.h b/src/H5Bprivate.h
index cb60768..7effb7f 100644
--- a/src/H5Bprivate.h
+++ b/src/H5Bprivate.h
@@ -22,6 +22,7 @@
/* Private headers needed by this file */
#include <H5private.h>
#include <H5Fprivate.h>
+#include <H5ACprivate.h> /*cache */
/*
* Feature: Define this constant if you want to check B-tree consistency
@@ -106,6 +107,8 @@ typedef struct H5B_key_t {
} H5B_key_t;
typedef struct H5B_t {
+ H5AC_info_t cache_info; /* Information for H5AC cache functions, _must_ be */
+ /* first field in structure */
const H5B_class_t *type; /*type of tree */
size_t sizeof_rkey; /*size of raw (disk) key */
hbool_t dirty; /*something in the tree is dirty */