MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / _get_eligible_cpus

Method _get_eligible_cpus

embedded/site-packages/psutil/_pslinux.py:2203–2212  ·  view source on GitHub ↗
(
            self, _re=re.compile(br"Cpus_allowed_list:\t(\d+)-(\d+)")
        )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

cpu_affinity_setMethod · 0.95
cpu_affinityMethod · 0.80
test_cpu_affinityMethod · 0.80

Calls 3

_read_status_fileMethod · 0.95
compileMethod · 0.80
per_cpu_timesFunction · 0.70

Tested by 3

test_cpu_affinityMethod · 0.64