Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dbuilder.rs24 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 Dmod.rs46 pub enum Qos { enum
64 pub use ylong_ffrt::Qos;
H A Djoin_set.rs27 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 Dbuilder.rs110 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 Dyield.rs19 use ylong_ffrt::Qos;
56 .max_worker_num_by_qos(Qos::Default, 1) in sdv_yield_now_single_worker()
H A Djoin_set.rs25 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 Dmulti_thread_builder.rs18 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 Dcommon_builder.rs23 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 Dconfig.rs16 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 Dtask.rs78 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 Dlib.rs29 pub enum Qos { enum
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/
H A Dinterval.h79 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 Dframe_interval.h33 const QoS& Qos() const override in Qos() function
/ohos5.0/base/request/request/services/src/manage/scheduler/qos/
H A Dmod.rs26 pub(crate) struct Qos { struct
31 impl Qos { argument
58 impl Qos { impl
/ohos5.0/foundation/resourceschedule/qos_manager/
H A DREADME_zh.md5 权限管控服务目前服务于并发编程框架FFRT,为特定的线程提供调用底层Qos和RTG接口的能力。服务接收全局资源调度管控子系统中的帧感知调度插件发送的场景信息,为系统服务uid与前台app的uid赋予…
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
H A Dlib.rs52 pub use ylong_ffrt::Qos;
/ohos5.0/base/request/request/services/src/manage/scheduler/
H A Dmod.rs20 use qos::Qos;
57 qos: Qos,
81 qos: Qos::new(), in init()
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dqos-protect-critical-threads.md222 | 低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 Dsoftbus_adapter.h100 static constexpr QosTV Qos[QOS_COUNT] = { { .qos = QOS_TYPE_MIN_BW, .value = 64 * 1024 }, variable
H A Dsoftbus_adapter_standard.cpp413 return Listen(socket_, Qos, QOS_COUNT, &serverListener_); in CreateSessionServerAdapter()
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/
H A Dsoftbus_adapter.h91 static constexpr QosTV Qos[QOS_COUNT] = { variable
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/
H A Dsoftbus_adapter_standard.cpp475 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 Dhisysevent.yaml601 __BASE: {type: STATISTIC, level: MINOR, desc: fillp socket Qos event}