|
itch-mold-replay 1.0
Time-accurate NASDAQ TotalView-ITCH 5.0 replay over MoldUDP64
|
#include <memory_mapped_file.h>
Public Attributes | |
| std::filesystem::path | path |
| Path of the file to map. | |
| int | mmap_flags {0} |
| Additional mmap() flags, OR'd with MAP_PRIVATE. | |
| int | madvise_flags {0} |
| Flags passed to madvise() after mapping. Pass 0 to skip madvise() call entirely. | |
| std::filesystem::path imr::util::MemoryMappedFile::Config::path |
Path of the file to map.
| std::invalid_argument | if invalid path or directory |
| std::system_error | if open() fails |
| int imr::util::MemoryMappedFile::Config::mmap_flags {0} |
Additional mmap() flags, OR'd with MAP_PRIVATE.
MAP_PRIVATE is always used since the mapping is read only, but you can pass additional flags via this.
| int imr::util::MemoryMappedFile::Config::madvise_flags {0} |
Flags passed to madvise() after mapping. Pass 0 to skip madvise() call entirely.