Adds iterable HP map parameters
[libcds.git] / test / stress / map / insdelfind / map_insdelfind.h
index e290d39..296b1da 100644 (file)
@@ -45,8 +45,10 @@ namespace map {
         static size_t s_nHpEllenBinTreeMapPassCount;
         static size_t s_nHpFeldmanPassCount;
         static size_t s_nHpMichaelMapPassCount;
+        static size_t s_nHpMichaelIterableMapPassCount;
         static size_t s_nHpSkipListMapPassCount;
         static size_t s_nHpSplitListMapPassCount;
+        static size_t s_nHpSplitListIterableMapPassCount;
 
         static size_t s_nRcuEllenBinTreeMapPassCount;
         static size_t s_nRcuFeldmanPassCount;
@@ -317,6 +319,20 @@ namespace map {
           Map_InsDelFind_LF::run_test<Map>();
         }
 
+        template <class Map>
+        void run_iterable_michael_hp() {
+          Map_InsDelFind::s_nPassCount =
+              Map_InsDelFind::s_nHpMichaelIterableMapPassCount;
+          Map_InsDelFind_LF::run_test<Map>();
+        }
+
+        template <class Map>
+        void run_iterable_split_list_hp() {
+          Map_InsDelFind::s_nPassCount =
+              Map_InsDelFind::s_nHpSplitListIterableMapPassCount;
+          Map_InsDelFind_LF::run_test<Map>();
+        }
+
         template <class Map>
         void run_michael_rcu() {
           Map_InsDelFind::s_nPassCount =