summaryrefslogtreecommitdiff
path: root/src/os_posix
diff options
context:
space:
mode:
authorSulabh Mahajan <sulabh.mahajan@mongodb.com>2016-09-14 13:20:11 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-14 13:20:11 +1000
commite189aa8a3de76fcd71a4dea254a24f02c80dfa19 (patch)
tree95ac2381de6c51b15ffa85e203be605e65b3ed72 /src/os_posix
parent71c8bd736c888228d42d9a2ee478380d2224c984 (diff)
downloadmongo-e189aa8a3de76fcd71a4dea254a24f02c80dfa19.tar.gz
WT-2859 Restructure statistics gathering macros (#3016)
Having _FAST_ macros gives an impression that when we use them, we are collecting fast statistics only, which is not true. Except when statistics=none is set, we collect all the stats. This change removes _FAST_ macros and modifies the basic macros to only collect stats when statistics=none is not set.
Diffstat (limited to 'src/os_posix')
-rw-r--r--src/os_posix/os_mtx_cond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_posix/os_mtx_cond.c b/src/os_posix/os_mtx_cond.c
index 9f17d9ff381..b25bb8c25d1 100644
--- a/src/os_posix/os_mtx_cond.c
+++ b/src/os_posix/os_mtx_cond.c
@@ -57,7 +57,7 @@ __wt_cond_wait_signal(
return;
__wt_verbose(session, WT_VERB_MUTEX, "wait %s", cond->name);
- WT_STAT_FAST_CONN_INCR(session, cond_wait);
+ WT_STAT_CONN_INCR(session, cond_wait);
WT_ERR(pthread_mutex_lock(&cond->mtx));
locked = true;