/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/ |
H A D | builder.rs | 24 use crate::task::{JoinHandle, Qos}; 30 pub(crate) qos: Option<Qos>, 55 pub fn qos(mut self, qos: Qos) -> Self { in qos() 84 use crate::task::{Qos, TaskBuilder}; 129 let pri = Qos::Background; in ut_builder_pri() 133 let pri = Qos::Utility; in ut_builder_pri() 137 let pri = Qos::UserInteractive; in ut_builder_pri() 141 let pri = Qos::UserInitiated; in ut_builder_pri() 145 let pri = Qos::Default; in ut_builder_pri()
|
H A D | mod.rs | 46 pub enum Qos { enum 64 pub use ylong_ffrt::Qos;
|
H A D | join_set.rs | 27 use crate::task::{JoinHandle, Qos, TaskBuilder}; 391 pub fn qos(self, qos: Qos) -> Self { in qos()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | builder.rs | 110 use ylong_ffrt::Qos; 125 .max_worker_num_by_qos(Qos::Default, 8) in sdv_build_global() 126 .max_worker_num_by_qos(Qos::Background, 0) in sdv_build_global() 127 .max_worker_num_by_qos(Qos::UserInteractive, 21) in sdv_build_global() 132 .max_worker_num_by_qos(Qos::Default, 8) in sdv_build_global() 133 .max_worker_num_by_qos(Qos::Background, 0) in sdv_build_global() 134 .max_worker_num_by_qos(Qos::UserInteractive, 21) in sdv_build_global()
|
H A D | yield.rs | 19 use ylong_ffrt::Qos; 56 .max_worker_num_by_qos(Qos::Default, 1) in sdv_yield_now_single_worker()
|
H A D | join_set.rs | 25 use ylong_runtime::task::{JoinSet, Qos}; 248 .qos(Qos::UserInteractive); in sdv_join_set_builder()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/builder/ |
H A D | multi_thread_builder.rs | 18 use ylong_ffrt::{ffrt_set_cpu_worker_max_num, ffrt_set_worker_stack_size, Qos}; 44 pub(crate) thread_num_by_qos: HashMap<Qos, u32>, 97 pub fn max_worker_num_by_qos(mut self, qos: Qos, num: u32) -> Self { in max_worker_num_by_qos() argument 128 self.max_worker_num_by_qos(Qos::Default, core_pool_size as u32) in worker_num() 205 pub fn stack_size_by_qos(mut self, qos: Qos, stack_size: usize) -> Self { in stack_size_by_qos() argument 219 self.stack_size_by_qos(Qos::Default, stack_size) in worker_stack_size() 307 use ylong_ffrt::Qos::{Default, UserInitiated, UserInteractive};
|
H A D | common_builder.rs | 23 use ylong_ffrt::Qos; 31 pub(crate) stack_size_by_qos: HashMap<Qos, usize>,
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_ffrt/src/ |
H A D | config.rs | 16 use crate::Qos; 22 pub fn ffrt_set_cpu_worker_max_num(qos: Qos, num: c_uint); in ffrt_set_cpu_worker_max_num() argument 25 pub fn ffrt_set_worker_stack_size(qos: Qos, num: c_ulong); in ffrt_set_worker_stack_size() argument
|
H A D | task.rs | 78 pub fn set_qos(&mut self, qos: Qos) -> &mut Self { in set_qos() 87 pub fn get_qos(&self) -> Qos { in get_qos() argument 109 fn ffrt_task_attr_set_qos(attr: *mut FfrtTaskAttr, qos: Qos); in ffrt_task_attr_set_qos() argument 110 fn ffrt_task_attr_get_qos(attr: *const FfrtTaskAttr) -> Qos; in ffrt_task_attr_get_qos() argument
|
H A D | lib.rs | 29 pub enum Qos { enum
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/ |
H A D | interval.h | 79 const QoS& Qos() const in Qos() function 206 virtual const QoS& Qos() const = 0; 230 const QoS& Qos() const override in Qos() function 232 return ctrl.Qos(); in Qos()
|
H A D | frame_interval.h | 33 const QoS& Qos() const override in Qos() function
|
/ohos5.0/base/request/request/services/src/manage/scheduler/qos/ |
H A D | mod.rs | 26 pub(crate) struct Qos { struct 31 impl Qos { argument 58 impl Qos { impl
|
/ohos5.0/foundation/resourceschedule/qos_manager/ |
H A D | README_zh.md | 5 权限管控服务目前服务于并发编程框架FFRT,为特定的线程提供调用底层Qos和RTG接口的能力。服务接收全局资源调度管控子系统中的帧感知调度插件发送的场景信息,为系统服务uid与前台app的uid赋予…
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/ |
H A D | lib.rs | 52 pub use ylong_ffrt::Qos;
|
/ohos5.0/base/request/request/services/src/manage/scheduler/ |
H A D | mod.rs | 20 use qos::Qos; 57 qos: Qos, 81 qos: Qos::new(), in init()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | qos-protect-critical-threads.md | 222 | 低Qos等级 QOS_BACKGROUND(反例) | 34 | 726.8毫秒 | 223 | 高Qos等级 QOS_USER_INTERACTIVE(正例) | 34 | 323.9毫秒 |
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | softbus_adapter.h | 100 static constexpr QosTV Qos[QOS_COUNT] = { { .qos = QOS_TYPE_MIN_BW, .value = 64 * 1024 }, variable
|
H A D | softbus_adapter_standard.cpp | 413 return Listen(socket_, Qos, QOS_COUNT, &serverListener_); in CreateSessionServerAdapter()
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/ |
H A D | softbus_adapter.h | 91 static constexpr QosTV Qos[QOS_COUNT] = { variable
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/ |
H A D | softbus_adapter_standard.cpp | 475 int32_t res = Bind(socketId, Qos, QOS_COUNT, &clientListener_); in CreateClientSocket() 544 int res = Listen(socketServer_, Qos, QOS_COUNT, &serverListener_); in CreateSessionServerAdapter()
|
/ohos5.0/foundation/communication/dsoftbus/ |
H A D | hisysevent.yaml | 601 __BASE: {type: STATISTIC, level: MINOR, desc: fillp socket Qos event}
|