From: khizmax Date: Fri, 31 Oct 2014 19:56:31 +0000 (+0300) Subject: add SplitListMap print stat X-Git-Tag: v2.0.0~154 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f3500008c06931614bb0baa086439e4d9f698265;p=libcds.git add SplitListMap print stat --- 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 )