Change-Id: I1f0aae16e4ace850d7d79b9c2c644a3e0d002636
Signed-off-by: Damjan Marion <damarion@cisco.com>
h->name = (u8 *) name;
h->nbuckets = nbuckets;
h->log2_nbuckets = max_log2 (nbuckets);
h->name = (u8 *) name;
h->nbuckets = nbuckets;
h->log2_nbuckets = max_log2 (nbuckets);
- h->cache_hits = 0;
- h->cache_misses = 0;
/*
* Make sure the requested size is rational. The max table
/*
* Make sure the requested size is rational. The max table
}
s = format (s, " %lld linear search buckets\n", linear_buckets);
}
s = format (s, " %lld linear search buckets\n", linear_buckets);
- s = format (s, " %lld cache hits, %lld cache misses\n",
- h->cache_hits, h->cache_misses);
used_bytes = h->alloc_arena_next - h->alloc_arena;
s = format (s,
" arena: base %llx, next %llx\n"
used_bytes = h->alloc_arena_next - h->alloc_arena;
s = format (s,
" arena: base %llx, next %llx\n"
u32 log2_nbuckets;
u8 *name;
u32 log2_nbuckets;
u8 *name;
- u64 cache_hits;
- u64 cache_misses;
-
BVT (clib_bihash_value) ** freelists;
/*
BVT (clib_bihash_value) ** freelists;
/*