2#include <numapp/numa.hpp>
8 std::cout <<
"NUMA not available";
12 auto policy = StaticScheduler(StaticScheduler::Policy::Fifo, 99);
15 std::cout <<
"Failed to apply policy: " << ec.message() << std::endl;
Static priority scheduler (real-time).
std::error_code Apply(CpuAffinity const &affinity) noexcept
Apply policy to calling thread.
bool NumaAvailable() noexcept
Query whether system has NUMA support.
Contains scheduler declarations.