diff options
Diffstat (limited to 'src/conn/conn_sweep.c')
-rw-r--r-- | src/conn/conn_sweep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/conn/conn_sweep.c b/src/conn/conn_sweep.c index 25057d73564..03593f8951a 100644 --- a/src/conn/conn_sweep.c +++ b/src/conn/conn_sweep.c @@ -48,7 +48,7 @@ __sweep_mark(WT_SESSION_IMPL *session, time_t now) continue; dhandle->timeofdeath = now; - WT_STAT_FAST_CONN_INCR(session, dh_sweep_tod); + WT_STAT_CONN_INCR(session, dh_sweep_tod); } } @@ -167,10 +167,10 @@ __sweep_discard_trees(WT_SESSION_IMPL *session, u_int *dead_handlesp) /* We closed the btree handle. */ if (ret == 0) { - WT_STAT_FAST_CONN_INCR(session, dh_sweep_close); + WT_STAT_CONN_INCR(session, dh_sweep_close); ++*dead_handlesp; } else - WT_STAT_FAST_CONN_INCR(session, dh_sweep_ref); + WT_STAT_CONN_INCR(session, dh_sweep_ref); WT_RET_BUSY_OK(ret); } @@ -236,9 +236,9 @@ __sweep_remove_handles(WT_SESSION_IMPL *session) WT_WITH_HANDLE_LIST_LOCK(session, ret = __sweep_remove_one(session, dhandle)); if (ret == 0) - WT_STAT_FAST_CONN_INCR(session, dh_sweep_remove); + WT_STAT_CONN_INCR(session, dh_sweep_remove); else - WT_STAT_FAST_CONN_INCR(session, dh_sweep_ref); + WT_STAT_CONN_INCR(session, dh_sweep_ref); WT_RET_BUSY_OK(ret); } @@ -273,7 +273,7 @@ __sweep_server(void *arg) conn->sweep_cond, conn->sweep_interval * WT_MILLION); WT_ERR(__wt_seconds(session, &now)); - WT_STAT_FAST_CONN_INCR(session, dh_sweeps); + WT_STAT_CONN_INCR(session, dh_sweeps); /* * Sweep the lookaside table. If the lookaside table hasn't yet |