Module rayon_core::sleep::counters
source ยท Structsยง
- AtomicCounters ๐
- Counters ๐
- JobsEventCounter ๐A value read from the Jobs Event Counter. See the
README.md
for more coverage of how the jobs event counter works.
Constantsยง
- INACTIVE_SHIFT ๐Bits to shift to select the inactive threads (used with
select_bits
). - JEC_SHIFT ๐Bits to shift to select the JEC (use JOBS_BITS).
- ONE_INACTIVE ๐Constant that can be added to add one inactive thread. An inactive thread is either idle, sleepy, or sleeping.
- ONE_JEC ๐Constant that can be added to add one to the JEC.
- ONE_SLEEPING ๐Constant that can be added to add one sleeping thread.
- SLEEPING_SHIFT ๐Bits to shift to select the sleeping threads (used with
select_bits
). - THREADS_BITS ๐Number of bits used for the thread counters.
- THREADS_MAX ๐Max value for the thread counters.
Functionsยง
- select_jec ๐
- select_thread ๐