fn llc_size_bytes(cache_path: &Path) -> Option<u64>Expand description
Read the LLC cache size of one CPU from sysfs.
@cache_path is /sys/devices/system/cpu/cpuN/cache, whose index*
directories each describe one cache level with level/type/size
(and, on machines that expose it, id) files. The LLC level is the
index whose id matches the CPU’s kernel topology/llc_id (both
describe the same level); on machines whose index entries carry no
id file, the deepest (largest level) index is used. A per-entry
read failure skips that entry; a failure of the whole discovery
yields None and the caller falls back to 0 for the domain.