File tree Expand file tree Collapse file tree
include/ipfixprobe/outputPlugin/outputStorage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,16 +195,19 @@ class BOutputStorage : public OutputStorage<ElementType> {
195195 // auto& y = m_buckets[readerData.readPosition];
196196 if (overflowed) {
197197 if (!this ->writersPresent ()) {
198+ std::cout << " Leving\n " ;
198199 readerData.generation .fetch_add (1 , std::memory_order_release);
199200 updateLowestReaderGeneration ();
200201 return nullptr ;
201202 }
202203 if (!readerData.seenValidBucket ) {
204+ std::cout << " Hits\n " ;
203205 updateLowestReaderGeneration ();
204206 backoffScheme.backoff ();
205207 // readerData.skipLoop = true;
206208 return nullptr ;
207209 }
210+ std::cout << " Normano\n " ;
208211 readerData.generation .fetch_add (1 , std::memory_order_release);
209212 readerData.seenValidBucket = false ;
210213 // readerData.skipLoop = false;
@@ -217,6 +220,7 @@ class BOutputStorage : public OutputStorage<ElementType> {
217220 // if (cachedGeneration >= readerData.generation + WINDOW_SIZE) {
218221 if (cachedGeneration
219222 >= readerData.generation .load (std::memory_order_acquire) + WINDOW_SIZE ) {
223+ std::cout << " Shto\n " ;
220224 readerData.seenValidBucket = true ;
221225 }
222226 } while (cachedGeneration != readerData.generation .load (std::memory_order_acquire)
You can’t perform that action at this time.
0 commit comments