ThreadSchedule 1.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::CpuTopology Struct Reference

Snapshot of basic CPU/NUMA topology. More...

#include <topology.hpp>

Public Attributes

int cpu_count {0}
int numa_nodes {1}
std::vector< std::vector< int > > node_to_cpus

Detailed Description

Snapshot of basic CPU/NUMA topology.

Definition at line 30 of file topology.hpp.

Member Data Documentation

◆ cpu_count

int threadschedule::CpuTopology::cpu_count {0}

Definition at line 32 of file topology.hpp.

◆ node_to_cpus

std::vector<std::vector<int> > threadschedule::CpuTopology::node_to_cpus

Definition at line 35 of file topology.hpp.

◆ numa_nodes

int threadschedule::CpuTopology::numa_nodes {1}

Definition at line 33 of file topology.hpp.


The documentation for this struct was generated from the following file: