48 #if MB_RANGE_SEQ_INTERSECT_ITER_STATS
80 #if MB_RANGE_SEQ_INTERSECT_ITER_STATS
124 if( iter == map.
end() )
134 else if( ( *iter )->start_handle() <=
mEndHandle )
142 #if MB_RANGE_SEQ_INTERSECT_ITER_STATS
143 double RangeSeqIntersectIter::doubleNumCalls = 0;
144 double RangeSeqIntersectIter::doubleEntCount = 0;
145 unsigned long RangeSeqIntersectIter::intNumCalls = 0;
146 unsigned long RangeSeqIntersectIter::intEntCount = 0;
148 void RangeSeqIntersectIter::update_stats(
unsigned long num_ents )
150 if( std::numeric_limits< unsigned long >::max() == intNumCalls )
152 doubleNumCalls += intNumCalls;
157 if( std::numeric_limits< unsigned long >::max() - intEntCount > num_ents )
159 doubleNumCalls += intEntCount;
160 intEntCount = num_ents;
164 intEntCount += num_ents;