diff options
Diffstat (limited to 'src/support/stat.c')
-rw-r--r-- | src/support/stat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/support/stat.c b/src/support/stat.c index 79248b0652c..bbe8cb22582 100644 --- a/src/support/stat.c +++ b/src/support/stat.c @@ -573,6 +573,7 @@ static const char * const __stats_connection_desc[] = { "log: log records too small to compress", "log: log records not compressed", "log: log records compressed", + "log: log flush calls", "log: maximum log file size", "log: pre-allocated log files prepared", "log: number of pre-allocated log files to create", @@ -758,6 +759,7 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) stats->log_slot_unbuffered = 0; stats->log_bytes_payload = 0; stats->log_bytes_written = 0; + stats->log_flush = 0; stats->log_compress_writes = 0; stats->log_compress_write_fails = 0; stats->log_compress_small = 0; @@ -940,6 +942,7 @@ __wt_stat_connection_aggregate( to->log_slot_unbuffered += WT_STAT_READ(from, log_slot_unbuffered); to->log_bytes_payload += WT_STAT_READ(from, log_bytes_payload); to->log_bytes_written += WT_STAT_READ(from, log_bytes_written); + to->log_flush += WT_STAT_READ(from, log_flush); to->log_compress_writes += WT_STAT_READ(from, log_compress_writes); to->log_compress_write_fails += WT_STAT_READ(from, log_compress_write_fails); |