Home
last modified time | relevance | path

Searched refs:current_num_threads (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/rayon/src/iter/
Dpar_bridge.rs7 use crate::current_num_threads;
81 let split_count = AtomicUsize::new(current_num_threads()); in drive_unindexed()
167 let count = current_num_threads(); in fold_with()
/external/rust/crates/rayon-core/src/thread_pool/
Dmod.rs125 pub fn current_num_threads(&self) -> usize { in current_num_threads() method
266 .field("num_threads", &self.current_num_threads()) in fmt()
Dtest.rs201 assert_eq!(pool.current_num_threads(), 22); in check_thread_pool_new()
/external/rust/crates/rayon-core/src/
Dtest.rs12 assert_eq!(pool.current_num_threads(), 22); in worker_thread_index()
127 assert_eq!(pool.current_num_threads(), 22); in check_config_build()
Dlib.rs84 pub fn current_num_threads() -> usize { in current_num_threads() function
85 crate::registry::Registry::current_num_threads() in current_num_threads()
Dregistry.rs285 pub(super) fn current_num_threads() -> usize { in current_num_threads() method
/external/rust/crates/rayon/src/
Dlib.rs116 pub use rayon_core::{current_num_threads, current_thread_index};
/external/rust/crates/rayon/src/iter/plumbing/
Dmod.rs267 splits: crate::current_num_threads(), in new()
278 self.splits = cmp::max(crate::current_num_threads(), self.splits / 2); in try_split()