Module topology

Module topology 

Source
Expand description

CPU topology abstraction.

TestTopology reads sysfs to discover CPUs, LLCs, and NUMA nodes. Provides cpuset generation methods used by CpusetSpec.

See the Scenarios chapter for how topology drives cpuset partitioning.

Structs§

LlcInfo
Information about a last-level cache domain.
NodeMemInfo
Per-node memory information (total and free KiB).
TestTopology
CPU topology abstraction for test configuration.

Functions§

parse_cpu_list
Parse a CPU list string (e.g., “0-3,5,7-9”) into a sorted vec of CPU IDs.
parse_cpu_list_lenient
Parse a CPU list string, silently skipping invalid entries.