summaryrefslogtreecommitdiff
path: root/src/include/btree.i
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-16 06:21:24 +0000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-16 06:21:24 +0000
commit5bc03723a7e77c96b1d5e45a97173654872c727a (patch)
treef0d12b535fee95b721d8d046c3e4dfbfec0a91e2 /src/include/btree.i
parentdeeb0f589aab43f0d4b8d97755ed1e13808dcfab (diff)
parent03bbd9d3c9330a5b6e3cbd7d2db1ac7fea5e96bf (diff)
downloadmongo-5bc03723a7e77c96b1d5e45a97173654872c727a.tar.gz
Merge branch 'develop' into mongodb-3.4mongodb-3.3.14mongodb-3.3.13
Diffstat (limited to 'src/include/btree.i')
-rw-r--r--src/include/btree.i16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/btree.i b/src/include/btree.i
index c07966a4453..6e32c1bc195 100644
--- a/src/include/btree.i
+++ b/src/include/btree.i
@@ -1183,8 +1183,8 @@ __wt_leaf_page_can_split(WT_SESSION_IMPL *session, WT_PAGE *page)
(WT_INSERT_KEY_SIZE(ins) + WT_UPDATE_MEMSIZE(ins->upd));
if (count > WT_MIN_SPLIT_COUNT &&
size > (size_t)btree->maxleafpage) {
- WT_STAT_FAST_CONN_INCR(session, cache_inmem_splittable);
- WT_STAT_FAST_DATA_INCR(session, cache_inmem_splittable);
+ WT_STAT_CONN_INCR(session, cache_inmem_splittable);
+ WT_STAT_DATA_INCR(session, cache_inmem_splittable);
return (true);
}
}
@@ -1233,8 +1233,8 @@ __wt_page_can_evict(
* been written in the checkpoint, leaving the checkpoint inconsistent.
*/
if (modified && btree->checkpointing != WT_CKPT_OFF) {
- WT_STAT_FAST_CONN_INCR(session, cache_eviction_checkpoint);
- WT_STAT_FAST_DATA_INCR(session, cache_eviction_checkpoint);
+ WT_STAT_CONN_INCR(session, cache_eviction_checkpoint);
+ WT_STAT_DATA_INCR(session, cache_eviction_checkpoint);
return (false);
}
@@ -1411,7 +1411,7 @@ __wt_page_hazard_check(WT_SESSION_IMPL *session, WT_PAGE *page)
* come or go, we'll check the slots for all of the sessions that could
* have been active when we started our check.
*/
- WT_STAT_FAST_CONN_INCR(session, cache_hazard_checks);
+ WT_STAT_CONN_INCR(session, cache_hazard_checks);
WT_ORDERED_READ(session_cnt, conn->session_cnt);
for (s = conn->sessions, i = 0, j = 0, max = 0;
i < session_cnt; ++s, ++i) {
@@ -1420,19 +1420,19 @@ __wt_page_hazard_check(WT_SESSION_IMPL *session, WT_PAGE *page)
WT_ORDERED_READ(hazard_size, s->hazard_size);
if (s->hazard_size > max) {
max = s->hazard_size;
- WT_STAT_FAST_CONN_SET(session,
+ WT_STAT_CONN_SET(session,
cache_hazard_max, max);
}
for (hp = s->hazard; hp < s->hazard + hazard_size; ++hp) {
++j;
if (hp->page == page) {
- WT_STAT_FAST_CONN_INCRV(session,
+ WT_STAT_CONN_INCRV(session,
cache_hazard_walks, j);
return (hp);
}
}
}
- WT_STAT_FAST_CONN_INCRV(session, cache_hazard_walks, j);
+ WT_STAT_CONN_INCRV(session, cache_hazard_walks, j);
return (NULL);
}