Struct Topology

Struct Documentation

struct Topology

Owned discovery snapshot intersected with inherited CPU eligibility; not live OS state.

Public Members

std::vector<unsigned int> eligible_cpus

Sorted OS CPU IDs intersected with the creator’s inherited affinity.

std::vector<Core> cores

Reported physical cores restricted to eligible CPUs.

std::vector<CacheDomain> caches

Reported cache domains restricted to eligible CPUs.

bool cpu_affinity = false

Whether this provider can bind the calling thread under the required contract.

std::string limitations

Human-readable discovery/binding limitations; not a machine policy token.