X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2Fstress%2Fsequential%2Fsequential-set%2Finsdel_string%2Fset_insdel_string.cpp;h=262e8f295357724e5cc548f507f1558c323834f6;hb=9ce83fe3ccd0b149562f72b9a3c7de9c6ff6f0cc;hp=40f066e4e746bf5ac43c4ee427fed369fc44906f;hpb=907e8f3e384f7161e35dc41ddc3a78c2bb86013b;p=libcds.git diff --git a/test/stress/sequential/sequential-set/insdel_string/set_insdel_string.cpp b/test/stress/sequential/sequential-set/insdel_string/set_insdel_string.cpp index 40f066e4..262e8f29 100644 --- a/test/stress/sequential/sequential-set/insdel_string/set_insdel_string.cpp +++ b/test/stress/sequential/sequential-set/insdel_string/set_insdel_string.cpp @@ -36,6 +36,8 @@ namespace set { size_t Set_InsDel_string::s_nInsertThreadCount = 4; // count of insertion thread size_t Set_InsDel_string::s_nDeleteThreadCount = 4; // count of deletion thread size_t Set_InsDel_string::s_nThreadPassCount = 4; // pass count for each thread + size_t Set_InsDel_string::s_nFeldmanThreadPassCount = 4; // pass count for Feldman + size_t Set_InsDel_string::s_nSkiplistThreadPassCount = 4; // pass count for Skiplist size_t Set_InsDel_string::s_nMaxLoadFactor = 8; // maximum load factor size_t Set_InsDel_string::s_nCuckooInitialSize = 1024;// initial size for CuckooSet @@ -50,7 +52,7 @@ namespace set { void Set_InsDel_string::SetUpTestCase() { - cds_test::config const& cfg = get_config( "map_insdel_string" ); + cds_test::config const& cfg = get_config( "sequential_map_insdel_string" ); s_nSetSize = cfg.get_size_t( "MapSize", s_nSetSize ); if ( s_nSetSize < 1000 ) @@ -68,7 +70,17 @@ namespace set { if ( s_nThreadPassCount == 0 ) s_nThreadPassCount = 4; - s_nMaxLoadFactor = cfg.get_size_t( "MaxLoadFactor", s_nMaxLoadFactor ); + s_nFeldmanThreadPassCount = + cfg.get_size_t("FeldmanThreadPassCount", s_nFeldmanThreadPassCount); + if (s_nFeldmanThreadPassCount == 0) + s_nFeldmanThreadPassCount = 4; + + s_nSkiplistThreadPassCount = cfg.get_size_t("SkiplistThreadPassCount", + s_nSkiplistThreadPassCount); + if (s_nSkiplistThreadPassCount == 0) + s_nSkiplistThreadPassCount = 4; + + s_nMaxLoadFactor = cfg.get_size_t("MaxLoadFactor", s_nMaxLoadFactor); if ( s_nMaxLoadFactor == 0 ) s_nMaxLoadFactor = 1;