X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=blobdiff_plain;f=cds%2Fcontainer%2Fsplit_list_set_rcu.h;h=14fe8c38767736159f1122a26d3a44d478c34ffa;hp=51d645833d34c0b92f4c85b318eca39788205160;hb=3e8abcbbbbb3809e809bec65a8a4d83cba8c4927;hpb=2ecb5437f12edd8843990efcf0df132836e7d1f4 diff --git a/cds/container/split_list_set_rcu.h b/cds/container/split_list_set_rcu.h index 51d64583..14fe8c38 100644 --- a/cds/container/split_list_set_rcu.h +++ b/cds/container/split_list_set_rcu.h @@ -186,6 +186,7 @@ namespace cds { namespace container { /// Hash functor for \ref value_type and all its derivatives that you use typedef typename base_class::hash hash; typedef typename base_class::item_counter item_counter; ///< Item counter type + typedef typename base_class::stat stat; ///< Internal statistics typedef typename base_class::rcu_lock rcu_lock ; ///< RCU scoped lock /// Group of \p extract_xxx functions require external locking if underlying ordered list requires that @@ -780,6 +781,12 @@ namespace cds { namespace container { { return base_class::size(); } + + /// Returns internal statistics + stat const& statistics() const + { + return base_class::statistics(); + } }; }} // namespace cds::container