diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-02-07 15:55:52 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-02-07 15:55:52 +1100 |
commit | a60ad7fc17f027eb44ce7b3b564ca1a586c63f2d (patch) | |
tree | e8ec0133d8fd6d3445e322967159f9044610f61d /dist | |
parent | 2d94ef2d31bef7c79e5f6ef33b220ed02c5ea025 (diff) | |
download | mongo-a60ad7fc17f027eb44ce7b3b564ca1a586c63f2d.tar.gz |
Begin renaming some of the structs in the internal API (in particular, IDB -> BTREE).
Diffstat (limited to 'dist')
-rw-r--r-- | dist/stat.py | 10 | ||||
-rw-r--r-- | dist/stat_class.py | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/dist/stat.py b/dist/stat.py index 9656a4e2bfe..ddb75de2775 100644 --- a/dist/stat.py +++ b/dist/stat.py @@ -50,10 +50,10 @@ for line in open('../src/include/stat.h', 'r'): elif line.count('Statistics section: BEGIN'): f.write('\n') skip = 1 + print_def('BTREE handle', btree_stats) + print_def('BTREE file', btree_fstats) print_def('CACHE handle', cache_stats) - print_def('DB/IDB file', idb_dstats) - print_def('DB/IDB handle', idb_stats) - print_def('ENV/IENV handle', ienv_stats) + print_def('IENV handle', ienv_stats) print_def('FH handle', fh_stats) print_def('Methods', method_stats) f.close() @@ -98,9 +98,9 @@ f = open(tmp_file, 'w') f.write('/* DO NOT EDIT: automatically built by dist/stat.py. */\n\n') f.write('#include "wt_internal.h"\n') +print_func('BTREE_HANDLE', btree_stats) +print_func('BTREE_FILE', btree_fstats) print_func('CACHE', cache_stats) -print_func('FILE', idb_dstats) -print_func('DB', idb_stats) print_func('ENV', ienv_stats) print_func('FH', fh_stats) print_func('METHOD', method_stats) diff --git a/dist/stat_class.py b/dist/stat_class.py index db292ba59cb..66621cbec80 100644 --- a/dist/stat_class.py +++ b/dist/stat_class.py @@ -40,9 +40,9 @@ cache_stats = { } ########################################## -# IDB handle statistics +# BTREE handle statistics ########################################## -idb_stats = { +btree_stats = { 'FILE_ALLOC' : Stat('file: block allocations'), 'FILE_EXTEND' : Stat('file: block allocations require file extension'), 'FILE_FREE' : Stat('file: block frees'), @@ -57,9 +57,9 @@ idb_stats = { } ########################################## -# IDB file statistics +# BTREE file statistics ########################################## -idb_dstats = { +btree_fstats = { 'BASE_RECNO' : Stat('base record number'), 'FIXED_LEN' : Stat('fixed-record size'), 'FREELIST_ENTRIES' : Stat('number of entries in the freelist'), |