#cpu #affinity

nightly cpu-affinity

Cross-Platform CPU affinity

10 unstable releases (3 breaking)

0.4.4 Feb 4, 2019
0.4.3 Feb 2, 2019
0.4.2 Jan 31, 2019
0.3.2 Jan 28, 2019
0.1.1 Dec 3, 2018

#137 in Concurrency

Download history 28/week @ 2018-12-03 2/week @ 2018-12-10 26/week @ 2018-12-17 8/week @ 2018-12-24 2/week @ 2018-12-31 5/week @ 2019-01-07 10/week @ 2019-01-14 18/week @ 2019-01-21 45/week @ 2019-01-28

41 downloads per month
Used in 1 crate

MIT license

54KB
836 lines

cpu-affinity

CPU affinity for processes and threads across many platforms and Operating Systems, including:-

  • Android
  • BitRig (does nothing)
  • DragonFlyBSD
  • Emscripten
  • Fuschia
  • FreeBSD
  • iOS
  • MacOS (does nothing, but special logic for setting thread affinity groups)
  • Linux
  • NetBSD
  • OpenBSD (does nothing)
  • Windows

Provides logic for finding out the valid set of logical cores (hyper threads) for a process, managing per-logical-core data sets, and more.

Licensing

The license for this project is MIT.


lib.rs:

cpu-affinity

CPU affinity for processes and threads across many platforms and Operating Systems, including:-

  • Android
  • BitRig (does nothing)
  • DragonFlyBSD
  • Emscripten
  • Fuschia
  • FreeBSD
  • iOS
  • MacOS (does nothing, but special logic for setting thread affinity groups)
  • Linux
  • NetBSD
  • OpenBSD (does nothing)
  • Windows
  • uclibc

Dependencies

~1MB
~15K SLoC