Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dask/dask
/ cpu_affinity
Method
cpu_affinity
dask/tests/test_system.py:92–93 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
90
91
class
Process:
92
def
cpu_affinity(self):
93
return
list(range(250))
94
95
monkeypatch.setattr(os,
"cpu_count"
, cpu_count)
96
if
sys.version_info >= (3, 13):
Callers
2
cpu_count
Function · 0.95
test_cpu_affinity_psutil
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected