Disables running some stat analysis for benchmarks & Adds some sequential data structures
[libcds.git] / test / stress / sequential / sequential-set / insdel_func / set_insdel_func.cpp
index 9ce8d9a50ce8adb670b0fbbd1d3bf8c164e133cb..5af59b98f77264863c6339d92094440c2be9748b 100644 (file)
@@ -37,6 +37,7 @@ namespace set {
     size_t Set_InsDel_func::s_nDeleteThreadCount = 4;  // count of deletion thread
     size_t Set_InsDel_func::s_nUpdateThreadCount = 4;  // count of ensure thread
     size_t Set_InsDel_func::s_nThreadPassCount = 4;    // pass count for each thread
+    size_t Set_InsDel_func::s_nFeldmanThreadPassCount = 4;    // pass count for each thread
     size_t Set_InsDel_func::s_nMaxLoadFactor = 8;      // maximum load factor
 
     size_t Set_InsDel_func::s_nCuckooInitialSize = 1024;// initial size for CuckooSet
@@ -50,7 +51,7 @@ namespace set {
 
     void Set_InsDel_func::SetUpTestCase()
     {
-        cds_test::config const& cfg = get_config( "map_insdel_func" );
+        cds_test::config const& cfg = get_config( "sequential_map_insdel_func" );
 
         s_nSetSize = cfg.get_size_t( "MapSize", s_nSetSize );
         if ( s_nSetSize < 1000 )
@@ -72,6 +73,11 @@ namespace set {
         if ( s_nThreadPassCount == 0 )
             s_nThreadPassCount = 4;
 
+        s_nFeldmanThreadPassCount =
+            cfg.get_size_t("FeldmanThreadPassCount", s_nFeldmanThreadPassCount);
+        if (s_nFeldmanThreadPassCount == 0)
+          s_nFeldmanThreadPassCount = 4;
+
         s_nMaxLoadFactor = cfg.get_size_t( "MaxLoadFactor", s_nMaxLoadFactor );
         if ( s_nMaxLoadFactor == 0 )
             s_nMaxLoadFactor = 1;