|
MXL : Media eXchange Layer
MXL
|
Represent a memory region (unregistered). More...
#include <Region.hpp>

Classes | |
| class | Location |
| Represent the location of a memory region. More... | |
Public Member Functions | |
| ::iovec const * | asIovec () const noexcept |
| Return the underlying iovec structure representing the memory region. | |
| Region (std::uintptr_t base, std::size_t size, std::uint64_t const *grainIndexPtr, std::uint16_t *validSlicesPtr, Location loc=Location::host()) noexcept | |
| Construct a Region object. | |
| ::iovec | toIovec () const noexcept |
| Convert the Region to an iovec structure. | |
Public Attributes | |
| std::uintptr_t | base |
| std::uint64_t const * | grainIndexPtr |
| Location | loc |
| std::size_t | size |
| std::uint16_t * | validSlicesPtr |
Static Private Member Functions | |
| ::iovec | iovecFromRegion (std::uintptr_t, std::size_t) noexcept |
Private Attributes | |
| ::iovec | _iovec |
Represent a memory region (unregistered).
Definition at line 23 of file Region.hpp.
|
inlineexplicitnoexcept |
Construct a Region object.
| base | The base address of the memory region. |
| size | The size of the memory region in bytes. |
| loc | The location of the memory region |
Definition at line 98 of file Region.hpp.
|
nodiscardnoexcept |
Return the underlying iovec structure representing the memory region.
Definition at line 77 of file Region.cpp.
|
staticprivatenoexcept |
Definition at line 88 of file Region.cpp.
|
nodiscardnoexcept |
Convert the Region to an iovec structure.
Definition at line 82 of file Region.cpp.
|
private |
Definition at line 130 of file Region.hpp.
| std::uintptr_t mxl::lib::fabrics::ofi::Region::base |
Definition at line 120 of file Region.hpp.
| std::uint64_t const* mxl::lib::fabrics::ofi::Region::grainIndexPtr |
Definition at line 122 of file Region.hpp.
| Location mxl::lib::fabrics::ofi::Region::loc |
Definition at line 124 of file Region.hpp.
| std::size_t mxl::lib::fabrics::ofi::Region::size |
Definition at line 121 of file Region.hpp.
| std::uint16_t* mxl::lib::fabrics::ofi::Region::validSlicesPtr |
Definition at line 123 of file Region.hpp.