We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2722320 commit de0b83fCopy full SHA for de0b83f
1 file changed
include/ipfixprobe/outputPlugin/outputStorage/b2OutputStorage.hpp
@@ -113,7 +113,8 @@ class B2OutputStorage : public BOutputStorage<ElementType> {
113
= this->m_readersData[readerIndex].get();
114
if (readerData.bucketAllocation.containersLeft()) {
115
__builtin_prefetch(
116
- &this->getNextElement(readerData.bucketAllocation).getData() + 1,
+ &readerData.bucketAllocation.bucketIndex * this->BUCKET_SIZE
117
+ + readerData.bucketAllocation.containerIndex + 1,
118
PrefetchMode::Read,
119
Locality::High);
120
return &this->getNextElement(readerData.bucketAllocation).getData();
0 commit comments