• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..17-Mar-2025-

common/H17-Mar-2025-328277

etc/H17-Mar-2025-129114

frameworks/H17-Mar-2025-711514

include/H17-Mar-2025-3917

interfaces/H17-Mar-2025-335137

qos/H17-Mar-2025-189152

sa_profile/H17-Mar-2025-3329

services/H17-Mar-2025-2,5482,108

test/H17-Mar-2025-3,2112,401

.gitignoreH A D17-Mar-202517 21

CODEOWNERSH A D17-Mar-2025796 1514

LICENSEH A D17-Mar-202511.3 KiB202169

OAT.xmlH A D17-Mar-20254.5 KiB7727

README.en.mdH A D17-Mar-2025972 3725

README.mdH A D17-Mar-20251.3 KiB4027

README_zh.mdH A D17-Mar-20253.2 KiB6841

RELEASE-NOTES.mdH A D17-Mar-202544 53

bundle.jsonH A D17-Mar-20252.7 KiB7978

README.en.md

1# resourceschedule_qos_manager
2
3#### Description
4{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
5
6#### Software Architecture
7Software architecture description
8
9#### Installation
10
111.  xxxx
122.  xxxx
133.  xxxx
14
15#### Instructions
16
171.  xxxx
182.  xxxx
193.  xxxx
20
21#### Contribution
22
231.  Fork the repository
242.  Create Feat_xxx branch
253.  Commit your code
264.  Create Pull Request
27
28
29#### Gitee Feature
30
311.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
322.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
333.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
344.  The most valuable open source project [GVP](https://gitee.com/gvp)
355.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
366.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
37

README.md

1# resourceschedule_qos_manager
2
3#### 介绍
4{**以下是 Gitee 平台说明,您可以替换此简介**
5Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
6无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
7
8#### 软件架构
9软件架构说明
10
11
12#### 安装教程
13
141.  xxxx
152.  xxxx
163.  xxxx
17
18#### 使用说明
19
201.  xxxx
212.  xxxx
223.  xxxx
23
24#### 参与贡献
25
261.  Fork 本仓库
272.  新建 Feat_xxx 分支
283.  提交代码
294.  新建 Pull Request
30
31
32#### 特技
33
341.  使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
352.  Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
363.  你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
374.  [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
385.  Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
396.  Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
40

README_zh.md

1# resourceschedule_qos_manager
2
3## 简介<a name="section_introduction"></a>
4
5权限管控服务目前服务于并发编程框架FFRT,为特定的线程提供调用底层Qos和RTG接口的能力。服务接收全局资源调度管控子系统中的帧感知调度插件发送的场景信息,为系统服务uid与前台app的uid赋予调用底层对应接口的权限。同时将多级Qos的配置信息下发到内核,为而为并发编程框架FFRT提供支撑。
6
7## 目录<a name="section_catalogue"></a>
8
9```
10//foundation/resourceschedule/qos_manager
11├── etc
12│   └── init                                # 权限管控服务配置文件
13|
14├── sa_profile                              # 权限管控服务xml
15├── include                                 # 部件通用工具类
16│   └── concurrent_task_log.h               # 封装hilog,用于日志打印
1718├── interfaces/inner_api
19│   └── concurrent_task_client.h            # 部件间调用接口
20|
21├── frameworks
22│   └── concurrent_task_client              # 服务client端
23|
24├── services                                # 服务service端
2526└── test                                    # 自测试用例目录
27```
28
29
30## 框架<a name="section_frameworks"></a>
31
32权限管控服务根据其对接的内核功能模块,主要可以分为两个部分。即RTG权限管控与分组管理、多级QoS权限管控与信息下发。
33
34- **RTG权限管控与分组管理**:主要分为基于uid的RTG权限管控模块、RTG分组管理模块。其中:
35
36  基于uid的RTG权限管控模块,主要接收帧感知调度发送的场景信息,基于这些消息,将一些特权uid、以及切换到前台的app对应的uid赋予RTG操作权限,使拥有这些uid的线程可以对RTG分组执行特定操作。
37
38  RTG分组管理模块,统一管理RTG分组,为并发编程框架目前对接的外部场景用到的RTG分组执行创建、销毁等操作。
39
40- **多级QoS权限管控与信息下发**:主要分为基于uid的QoS权限管控模块、多级QoS信息下发模块。其中:
41
42  基于uid的QoS权限管控模块,和RTG权限管控模块类似,主要接收帧感知调度发送的场景信息,基于这些消息,将一些特权uid、以及切换到前台的app对应的uid赋予设置QoS等级的权限。
43
44  多级QoS信息下发模块,将不同场景下的不同QoS等级对应的nice、uclamp等参数下发到内核,为线程的QoS等级设置服务。
45
46两个部分中的权限管控模块,统筹了权限管控服务所需要的外部事件,并根据事件类型下发对应的参数和权限,和并发编程框架相互合作,共同保障系统的性能供给。
47
48## 使用说明<a name="section_instructions"></a>
49
50系统开发者可以通过配置productdefine/common/products下的产品定义json文件,增加或移除本部件,来启用或停用本部件:
51
52```
53"qos_manager:concurrent_task_client":{}
54```
55
56## 相关仓<a name="section_related_repositories"></a>
57
58- [resource_schedule_service](https://gitee.com/openharmony/resourceschedule_resource_schedule_service)
59- [frame_aware_sched](https://gitee.com/openharmony/frame_aware_sched)
60- **resourceschedule_qos_manager**
61
62
63
64
65
66
67
68