VeloGraphX
High-performance dynamic graph analytics in C++20
Loading...
Searching...
No Matches
numa_policy.hpp File Reference
#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.

Classes

struct  velographx::NumaPlacement
 
struct  velographx::NumaMemoryRegion
 

Namespaces

namespace  velographx
 

Functions

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< NumaPlacementvelographx::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 &region, std::size_t stride=4096) noexcept
 
void velographx::release_numa_memory (NumaMemoryRegion &region) noexcept
 
std::string velographx::describe_numa_placement (const NumaPlacement &placement)