From 4db0cff16a1b16671384102f1876bebb7f481d89 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Tue, 30 May 2017 00:16:52 +0000 Subject: lib: add statistics for hash tables Adds a function that calculates various statistics on our implementation of a hash table. These are useful for evaluating performance. Signed-off-by: Quentin Young --- lib/command.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/command.c') diff --git a/lib/command.c b/lib/command.c index f019473308..c9d797844e 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2522,6 +2522,7 @@ cmd_init (int terminal) workqueue_cmd_init (); } + hash_cmd_init (); install_element (CONFIG_NODE, &hostname_cmd); install_element (CONFIG_NODE, &no_hostname_cmd); install_element (CONFIG_NODE, &frr_version_defaults_cmd); -- cgit v1.2.3