static size_t s_nConsumerThreadCount = 4;
static size_t s_nProducerThreadCount = 4;
static size_t s_nQueueSize = 4000000;
+ static size_t s_nSegmentedQueueSize = 400000;
static size_t s_nVyukovQueueSize = 40000;
static size_t s_nHeavyValueSize = 100;
s_nProducerThreadCount = cfg.get_size_t( "ProducerCount", s_nProducerThreadCount );
s_nQueueSize = cfg.get_size_t( "QueueSize", s_nQueueSize );
s_nVyukovQueueSize = cfg.get_size_t( "VyukovQueueSize", s_nVyukovQueueSize );
+ s_nSegmentedQueueSize = cfg.get_size_t( "SegmentedQueueSize", s_nSegmentedQueueSize );
s_nHeavyValueSize = cfg.get_size_t( "HeavyValueSize", s_nHeavyValueSize );
if ( s_nConsumerThreadCount == 0u )
s_nQueueSize = old_queue_size; \
}
- CDSSTRESS_VyukovQueue( simple_queue_push_pop )
+ //CDSSTRESS_VyukovQueue( simple_queue_push_pop )
#undef CDSSTRESS_Queue_F
TEST_P( test_fixture, type_name ) \
{ \
typedef typename queue::Types<value_type>::type_name queue_type; \
+ s_nQueueSize = s_nSegmentedQueueSize; \
test< queue_type >(); \
}
#define CDSSTRESS_SegmentedQueue( test_fixture ) \
CDSSTRESS_Queue_F( test_fixture, SegmentedQueue_HP_spin ) \
- CDSSTRESS_Queue_F( test_fixture, SegmentedQueue_HP_spin_padding ) \
CDSSTRESS_Queue_F( test_fixture, SegmentedQueue_DHP_spin ) \
CDSSTRESS_SegmentedQueue_1( test_fixture )
CDSSTRESS_WeakRingBuffer( spsc_queue )
CDSSTRESS_VyukovQueue( spsc_queue )
- CDSSTRESS_VyukovSingleConsumerQueue( spsc_queue )
+// CDSSTRESS_VyukovSingleConsumerQueue( spsc_queue )
#undef CDSSTRESS_Queue_F