Helper functor to align metadata entries that have the same offset (are left aligned).
More...
|
| proc_equal_offset (size_t mblk, bool fixed_size) |
|
template<typename SzOff , typename Part , typename LocalMD , typename AlignPart > |
void | operator() (SzOff sz_off, Part const &part, long long i, LocalMD &local_md, AlignPart &alignpart, size_t &idx, long long &k) const |
| Aligns metadata that have the same offset. More...
|
|
Helper functor to align metadata entries that have the same offset (are left aligned).
◆ operator()()
template<typename SzOff , typename Part , typename LocalMD , typename AlignPart >
void stapl::metadata::detail::proc_equal_offset::operator() |
( |
SzOff |
sz_off, |
|
|
Part const & |
part, |
|
|
long long |
i, |
|
|
LocalMD & |
local_md, |
|
|
AlignPart & |
alignpart, |
|
|
size_t & |
idx, |
|
|
long long & |
k |
|
) |
| const |
Aligns metadata that have the same offset.
- Parameters
-
sz_off | Information about size and offset of the metadata to be aligned. |
part | Partitioned metadata locality. |
i | Index of the metadata that is going to be aligned. |
local_md | Temporary local storage for metadata entries. |
alignpart | Container for metadata locality that contains the resulting coarsened partitioned metadata locality. |
idx | Index in the aligned metadata to write. |
k | Returns the increment that needs to be applied to advance to the next metadata locality. |
The documentation for this class was generated from the following file: