Disables running some stat analysis for benchmarks & Adds some sequential data structures
[libcds.git] / test / stress / sequential / sequential-set / insdel_find / set_insdelfind.cpp
index afcff02..a03a87a 100644 (file)
@@ -33,6 +33,8 @@
 namespace set {
 
     size_t Set_InsDelFind::s_nSetSize = 500000;      // initial set size
+    size_t Set_InsDelFind::s_nPassCount = 500000;      // initial pass count 
+
     size_t Set_InsDelFind::s_nThreadCount = 8;       // thread count
     size_t Set_InsDelFind::s_nMaxLoadFactor = 8;     // maximum load factor
     unsigned int Set_InsDelFind::s_nInsertPercentage = 5;
@@ -51,12 +53,16 @@ namespace set {
 
     void Set_InsDelFind::SetUpTestCase()
     {
-        cds_test::config const& cfg = get_config( "map_insdelfind" );
+        cds_test::config const& cfg = get_config( "sequential_map_insdelfind" );
 
         s_nSetSize = cfg.get_size_t( "InitialMapSize", s_nSetSize );
         if ( s_nSetSize < 1000 )
             s_nSetSize = 1000;
 
+        s_nPassCount = cfg.get_size_t( "PassCount", s_nPassCount);
+        if ( s_nPassCount < 1000 )
+            s_nPassCount = 1000;
+
         s_nThreadCount = cfg.get_size_t( "ThreadCount", s_nThreadCount );
         if ( s_nThreadCount == 0 )
             s_nThreadCount = 2;