diff options
Diffstat (limited to 'src/conn/conn_stat.c')
-rw-r--r-- | src/conn/conn_stat.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/conn/conn_stat.c b/src/conn/conn_stat.c new file mode 100644 index 00000000000..451803f4e5a --- /dev/null +++ b/src/conn/conn_stat.c @@ -0,0 +1,22 @@ +/*- + * Copyright (c) 2008-2012 WiredTiger, Inc. + * All rights reserved. + * + * See the file LICENSE for redistribution information. + */ + +#include "wt_internal.h" + +/* + * __wt_conn_stat_init -- + * Initialize the per-connection statistics. + */ +void +__wt_conn_stat_init(WT_SESSION_IMPL *session) +{ + WT_CONNECTION_IMPL *conn; + + conn = S2C(session); + + __wt_cache_stats_update(conn); +} |