summaryrefslogtreecommitdiff
path: root/src/include/btmem.h
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2016-10-14 18:08:49 +1100
committerGitHub <noreply@github.com>2016-10-14 18:08:49 +1100
commitf8bcc58d267e82f085fae3b64f498ee9fecbe424 (patch)
tree8f7bcd5ab1e3b24a01162b093e3ca33e6eae1a62 /src/include/btmem.h
parente0ce5ab8afb47ca010323d697213d786eae3a08f (diff)
downloadmongo-f8bcc58d267e82f085fae3b64f498ee9fecbe424.tar.gz
WT-1592 Add per-dhandle current cache usage statistics (#3062)
Exposed via a new 'cache_walk' statistics configuration option.
Diffstat (limited to 'src/include/btmem.h')
-rw-r--r--src/include/btmem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/btmem.h b/src/include/btmem.h
index b4ca937e7ed..278d0e50ee8 100644
--- a/src/include/btmem.h
+++ b/src/include/btmem.h
@@ -619,6 +619,8 @@ struct __wt_page {
#define WT_READGEN_START_VALUE 100
#define WT_READGEN_STEP 100
uint64_t read_gen;
+ /* The evict pass generation for the page */
+ uint64_t evict_pass_gen;
size_t memory_footprint; /* Memory attached to the page */