#include "velographx/runtime/numa.hpp"
#include <cerrno>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <vector>
Go to the source code of this file.
|
| NumaPlacement | velographx::choose_numa_placement (const NumaInfo &info, NumaMode mode, std::size_t worker_index) |
| |
| bool | velographx::pin_current_thread_to_cpu (std::size_t cpu_id) noexcept |
| |
| bool | velographx::apply_numa_placement (const NumaPlacement &placement) noexcept |
| |
| std::vector< NumaPlacement > | velographx::plan_numa_workers (const NumaInfo &info, NumaMode mode, std::size_t workers) |
| |
| bool | velographx::linux_mbind_region (void *address, std::size_t bytes, NumaMode mode, std::optional< std::size_t > node_id, std::size_t max_node_id) noexcept |
| |
| NumaMemoryRegion | velographx::allocate_numa_memory (std::size_t bytes, const NumaInfo &info, NumaMode mode, std::optional< std::size_t > node_id=std::nullopt) noexcept |
| |
| void | velographx::first_touch_region (NumaMemoryRegion ®ion, std::size_t stride=4096) noexcept |
| |
| void | velographx::release_numa_memory (NumaMemoryRegion ®ion) noexcept |
| |
| std::string | velographx::describe_numa_placement (const NumaPlacement &placement) |
| |