Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dasync_pool.rs388 fn get_cpu_core() -> usize { in get_cpu_core() function
416 let thread_num = builder.core_thread_size.unwrap_or_else(get_cpu_core); in new()
475 let cpu_core_num = get_cpu_core(); in create_async_thread_pool()
619 use crate::executor::async_pool::{get_cpu_core, AsyncPoolSpawner, MultiThreadScheduler};
964 .unwrap_or_else(get_cpu_core) in ut_async_pool_spawner_new()