Skip to content

Commit 7f7acad

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

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

include/ipfixprobe/outputPlugin/outputStorage/b2OutputStorage.hpp

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

0 commit comments

Comments
 (0)