You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue #2:
* Emit a warning if os.sched_setaffinity() or
psutil.Process.cpu_affinity() are not available
* Use psutil.Process.cpu_affinity() on Python 2 to get the CPU
affinity for metadata
* Add unit test on psutil
* Stop using the taskset command: it didn't work for loop calibration
On Python 2, the CPU affinity is not saved in metadata.
"taskset" can be replaced with "psutil.Process.cpu_affinity()" (works on Linux, Windows, FreeBSD) https://pythonhosted.org/psutil/#psutil.Process.cpu_affinity
Advice by @giampaolo who wrote psutil ;-)
I would prefer to keep psutil dependency optional whenever possible.
The text was updated successfully, but these errors were encountered: