Skip to content

Commit de0b83f

Browse files
Zainullin DamirZainullin Damir
authored andcommitted
++
1 parent 2722320 commit de0b83f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/ipfixprobe/outputPlugin/outputStorage/b2OutputStorage.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ class B2OutputStorage : public BOutputStorage<ElementType> {
113113
= this->m_readersData[readerIndex].get();
114114
if (readerData.bucketAllocation.containersLeft()) {
115115
__builtin_prefetch(
116-
&this->getNextElement(readerData.bucketAllocation).getData() + 1,
116+
&readerData.bucketAllocation.bucketIndex * this->BUCKET_SIZE
117+
+ readerData.bucketAllocation.containerIndex + 1,
117118
PrefetchMode::Read,
118119
Locality::High);
119120
return &this->getNextElement(readerData.bucketAllocation).getData();

0 commit comments

Comments
 (0)