Searched refs:JobsEventCounter (Results 1 – 2 of 2) sorted by relevance
27 pub(super) struct JobsEventCounter(usize); struct29 impl JobsEventCounter { impl30 pub(super) const DUMMY: JobsEventCounter = JobsEventCounter(std::usize::MAX);124 increment_when: impl Fn(JobsEventCounter) -> bool, in increment_jobs_event_counter_if()233 pub(super) fn jobs_counter(self) -> JobsEventCounter { in jobs_counter() argument234 JobsEventCounter(select_jec(self.word)) in jobs_counter()
14 use self::counters::{AtomicCounters, JobsEventCounter};47 jobs_counter: JobsEventCounter,84 jobs_counter: JobsEventCounter::DUMMY, in start_looking()125 fn announce_sleepy(&self, worker_index: usize) -> JobsEventCounter { in announce_sleepy() argument128 .increment_jobs_event_counter_if(JobsEventCounter::is_active); in announce_sleepy()308 .increment_jobs_event_counter_if(JobsEventCounter::is_sleepy); in new_jobs()385 self.jobs_counter = JobsEventCounter::DUMMY; in wake_fully()390 self.jobs_counter = JobsEventCounter::DUMMY; in wake_partly()