summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_template.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-23 21:58:05 +0200
committerDave Barach <openvpp@barachs.net>2018-08-23 21:33:57 +0000
commit869031c5858c0554e499485f2f28c43e3a32e6dd (patch)
tree3c574e6324c450a22b30bec5c6ed3b28baf393bc /src/vppinfra/bihash_template.c
parentb76590ac59764b02c6fcb85587cc53d492325a79 (diff)
bihash: remove unused counters
Change-Id: I1f0aae16e4ace850d7d79b9c2c644a3e0d002636 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/bihash_template.c')
-rw-r--r--src/vppinfra/bihash_template.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vppinfra/bihash_template.c b/src/vppinfra/bihash_template.c
index 18d74d9ea2f..e13ceb7173a 100644
--- a/src/vppinfra/bihash_template.c
+++ b/src/vppinfra/bihash_template.c
@@ -43,8 +43,6 @@ void BV (clib_bihash_init)
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
@@ -646,8 +644,6 @@ u8 *BV (format_bihash) (u8 * s, va_list * args)
}
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"