X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb2%2Ftdb2.h;h=d194de36aebc568b40962ef7a29fbe1e34b97144;hp=ea298db5e6aaa6e63e3ca632d561d6e6748013ab;hb=72d5504f02dbcb20b3df262834ee422be3405412;hpb=4e185ad8ab5a7e01edbbe12d11eb2f1577de7e8b diff --git a/ccan/tdb2/tdb2.h b/ccan/tdb2/tdb2.h index ea298db5..d194de36 100644 --- a/ccan/tdb2/tdb2.h +++ b/ccan/tdb2/tdb2.h @@ -118,6 +118,7 @@ struct tdb_attribute_stats { size_t size; /* = sizeof(struct tdb_attribute_stats) */ uint64_t allocs; uint64_t alloc_subhash; + uint64_t alloc_chain; uint64_t alloc_bucket_exact; uint64_t alloc_bucket_max; uint64_t alloc_leftover; @@ -126,6 +127,12 @@ struct tdb_attribute_stats { uint64_t alloc_coalesce_race; uint64_t alloc_coalesce_succeeded; uint64_t alloc_coalesce_num_merged; + uint64_t compares; + uint64_t compare_wrong_bucket; + uint64_t compare_wrong_offsetbits; + uint64_t compare_wrong_keylen; + uint64_t compare_wrong_rechash; + uint64_t compare_wrong_keycmp; uint64_t expands; uint64_t frees; uint64_t locks;