Gets iterable map pass count input from config file
[libcds.git] / test / stress / map / insdelfind / map_insdelfind.cpp
index 2e5bbe9..7bb0d84 100644 (file)
@@ -108,6 +108,11 @@ namespace map {
         if (s_nHpMichaelMapPassCount == 0)
           s_nHpMichaelMapPassCount = 500;
 
+        s_nHpMichaelIterableMapPassCount = cfg.get_size_t(
+            "HpMichaelIterableMapPassCount", s_nHpMichaelIterableMapPassCount);
+        if (s_nHpMichaelIterableMapPassCount == 0)
+          s_nHpMichaelIterableMapPassCount = 500;
+
         s_nRcuMichaelMapPassCount =
             cfg.get_size_t("RcuMichaelMapPassCount", s_nRcuMichaelMapPassCount);
         if (s_nRcuMichaelMapPassCount == 0)
@@ -128,6 +133,12 @@ namespace map {
         if (s_nHpSplitListMapPassCount == 0)
           s_nHpSplitListMapPassCount = 500;
 
+        s_nHpSplitListIterableMapPassCount =
+            cfg.get_size_t("HpSplitListIterableMapPassCount",
+                           s_nHpSplitListIterableMapPassCount);
+        if (s_nHpSplitListIterableMapPassCount == 0)
+          s_nHpSplitListIterableMapPassCount = 500;
+
         s_nRcuSplitListMapPassCount =
             cfg.get_size_t("RcuSplitListMapPassCount", s_nRcuSplitListMapPassCount);
         if (s_nRcuSplitListMapPassCount == 0)