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.
- Node
MemInfo - Per-node memory information (total and free KiB).
- Test
Topology - 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.