Module counters
Source - 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.
- 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.
- select_jec ๐
- select_thread ๐