From 8a386756dffec5c6f37e09ae6c96a82351fba36e Mon Sep 17 00:00:00 2001 From: Martin Kobetic Date: Wed, 18 Jun 2014 18:10:42 +0000 Subject: fix up freelist stats naming and add FreeAlloc --- db.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'db.go') diff --git a/db.go b/db.go index 13bfb16..e88e499 100644 --- a/db.go +++ b/db.go @@ -557,8 +557,9 @@ func (db *DB) allocate(count int) (*page, error) { // Stats represents statistics about the database. type Stats struct { // Freelist stats - FreelistN int // total number of pages on the freelist - FreelistAlloc int // total bytes used by the freelist and the pages on it + FreePageN int // total number of free pages + FreeAlloc int // total bytes allocated in free pages + FreelistInuse int // total bytes used by the freelist // Transaction stats TxN int // total number of started read transactions -- cgit v1.2.3