Home | Libraries | People | FAQ | More |
Returns the page sizes of this architecture which is useful for calculating direct i/o multiples.
BOOST_AFIO_DECL std::vector<size_t> utils::page_sizes(bool only_actually_available = true)
Type |
Concept |
Name |
Description |
---|---|---|---|
bool |
only_actually_available |
Only return page sizes actually available to the user running this process |
The page sizes of this architecture.
#include <boost/afio/v2/afio.hpp>
Whatever the system API takes (one would hope constant time).
Any error from the operating system or std::bad_alloc.