From f3500008c06931614bb0baa086439e4d9f698265 Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 31 Oct 2014 22:56:31 +0300 Subject: [PATCH] add SplitListMap print stat --- tests/unit/map2/map_types.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/unit/map2/map_types.h b/tests/unit/map2/map_types.h index 3c7c7e06..c4cf5b2e 100644 --- a/tests/unit/map2/map_types.h +++ b/tests/unit/map2/map_types.h @@ -59,6 +59,7 @@ #include "map2/std_hash_map.h" #include "michael_alloc.h" #include "print_cuckoo_stat.h" +#include "print_split_list_stat.h" #include "print_skip_list_stat.h" #include "print_ellenbintree_stat.h" #include "ellen_bintree_update_desc_pool.h" @@ -2405,6 +2406,12 @@ namespace map2 { CPPUNIT_MSG( m.statistics() ); } + template + static inline void print_stat( cc::SplitListMap< GC, K, T, Traits > const& m ) + { + CPPUNIT_MSG( m.statistics() ); + } + // EllenBinTreeMap template static inline void print_stat( cc::EllenBinTreeMap const& s ) -- 2.34.1