Searched refs:stack_size_by_qos (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/builder/ |
H A D | multi_thread_builder.rs | 75 for (qos, stack_size) in self.common.stack_size_by_qos.iter() { in build_global() 205 pub fn stack_size_by_qos(mut self, qos: Qos, stack_size: usize) -> Self { in stack_size_by_qos() method 212 self.common.stack_size_by_qos.insert(qos, stack_size); in stack_size_by_qos() 219 self.stack_size_by_qos(Qos::Default, stack_size) in worker_stack_size() 351 let builder = builder.stack_size_by_qos(UserInitiated, 16 * 1000 - 1); in ut_set_stack_size() 354 .stack_size_by_qos in ut_set_stack_size() 360 let builder = builder.stack_size_by_qos(UserInteractive, 16 * 1000); in ut_set_stack_size() 363 .stack_size_by_qos in ut_set_stack_size() 369 let builder = builder.stack_size_by_qos(Default, 16 * 1000 * 1000); in ut_set_stack_size() 370 let num = builder.common.stack_size_by_qos.get(&Default).unwrap(); in ut_set_stack_size() [all …]
|
H A D | common_builder.rs | 31 pub(crate) stack_size_by_qos: HashMap<Qos, usize>, 69 stack_size_by_qos: HashMap::new(), in new()
|