*/
#include "set_type.h"
+#include "../../misc/common.h"
#include <cds/os/topology.h>
namespace set {
static size_t s_nInsertPassCount;
static size_t s_nFindThreadCount; // find thread count
- static size_t s_nCuckooInitialSize; // initial size for CuckooSet
- static size_t s_nCuckooProbesetSize; // CuckooSet probeset size (only for list-based probeset)
- static size_t s_nCuckooProbesetThreshold; // CUckooSet probeset threshold (0 - use default)
-
static size_t s_nFeldmanSet_HeadBits;
static size_t s_nFeldmanSet_ArrayBits;
{
Set& rSet = m_Set;
- size_t const nInsThreadCount = s_nInsThreadCount;
Set_Iter_Del3& fixture = pool().template fixture<Set_Iter_Del3>();
do {
- auto itEnd = rSet.get_end<Iterator>();
- for ( auto it = rSet.get_begin<Iterator>(); it != itEnd; ++it ) {
+ auto itEnd = rSet.template get_end<Iterator>();
+ for ( auto it = rSet.template get_begin<Iterator>(); it != itEnd; ++it ) {
if ( it->key.nKey & 3 ) {
if ( rSet.erase_at( it ))
++m_nDeleteSuccess;
Set testSet( *this );
do_test_with<Iterator>( testSet );
- analyze( testSet );
+ DEBUG(analyze( testSet ));
}
template <class Set, typename Iterator=typename Set::iterator>
Set testSet( *this );
do_test_extract_with<Iterator>( testSet );
- analyze( testSet );
+ DEBUG(analyze( testSet ));
}
template <class Set>
void run_feldman();
-
- template <class Set>
- void run_feldman_reverse();
};
class Set_Iter_Del3_reverse: public Set_Iter_Del3