|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| benchmarks/ | | 06-May-2025 | - | 1,201 | 822 |
| docs/ | | 06-May-2025 | - | 5,355 | 3,685 |
| examples/ | | 06-May-2025 | - | 92 | 64 |
| interfaces/ | | 06-May-2025 | - | 4,626 | 1,696 |
| scripts/ | | 06-May-2025 | - | 82 | 29 |
| src/ | | 06-May-2025 | - | 24,899 | 18,963 |
| test/ | | 06-May-2025 | - | 10,420 | 7,584 |
| tools/ffrt_trace_process/ | | 06-May-2025 | - | 1,589 | 1,185 |
| .autocorrectignore | D | 06-May-2025 | 595 | 14 | 13 |
| .autocorrectrc | D | 06-May-2025 | 2.1 KiB | 73 | 72 |
| .clang-format | D | 06-May-2025 | 338 | 16 | 15 |
| .gitignore | D | 06-May-2025 | 100 | 10 | 9 |
| .markdownlint.json | D | 06-May-2025 | 74 | 6 | 6 |
| BENCHMARKS.md | D | 06-May-2025 | 549 | 20 | 13 |
| BUILD.gn | D | 06-May-2025 | 6.6 KiB | 261 | 236 |
| BUILD.md | D | 06-May-2025 | 3.8 KiB | 109 | 73 |
| CMakeLists.txt | D | 06-May-2025 | 3.7 KiB | 116 | 97 |
| CONTRIBUTING.md | D | 06-May-2025 | 3.4 KiB | 70 | 41 |
| LICENSE | D | 06-May-2025 | 11.1 KiB | 202 | 169 |
| OAT.xml | D | 06-May-2025 | 1.5 KiB | 32 | 14 |
| README.md | D | 06-May-2025 | 2.7 KiB | 70 | 51 |
| RELEASE.md | D | 06-May-2025 | 228 | 7 | 4 |
| TESTING.md | D | 06-May-2025 | 1.5 KiB | 64 | 38 |
| bundle.json | D | 06-May-2025 | 3.4 KiB | 96 | 94 |
| cspell.json | D | 06-May-2025 | 511 | 26 | 25 |
| ffrt.gni | D | 06-May-2025 | 785 | 20 | 19 |
| hisysevent.yaml | D | 06-May-2025 | 2.2 KiB | 48 | 32 |
| log_ctr_whitelist.conf | D | 06-May-2025 | 44 | 4 | 3 |
| worker_monitor.conf | D | 06-May-2025 | 13 | 3 | 2 |
README.md
1# 并发编程框架 FFRT
2
3- [并发编程框架 FFRT](#并发编程框架-ffrt)
4 - [简介](#简介)
5 - [目录](#目录)
6 - [编译构建](#编译构建)
7 - [Testing](#testing)
8 - [Benchmarks](#benchmarks)
9 - [Release](#release)
10 - [Contributing Code](#contributing-code)
11
12## 简介
13
14FFRT: Function Flow Runtime,一种并发编程框架,提供以数据依赖的方式构建异步并发任务的能力,包括数据依赖管理、任务执行器、系统事件处理等。并采用基于协程的任务执行方式,可以提高任务并行度、提升线程利用率、降低系统线程总数;充分利用多核平台的计算资源,保证系统对所有资源的集约化管理。最终解决系统线程资源滥用问题,打造极致用户体验。
15
16功能介绍详见:[FFRT 用户指南](docs/README.md)
17
18## 目录
19
20```plain
21├── benchmarks # 性能对比测试用例
22├── docs # 用户指南
23├── examples # 使用案例
24├── interfaces # 接口目录
25│ ├── inner_api # 内部接口
26│ └── kits # 对外接口
27│ ├── c
28│ └── cpp
29├── scripts
30├── src
31│ ├── core # 核心模块
32│ ├── dfx # 维测功能
33│ ├── dm # 依赖管理
34│ ├── eu # 执行单元
35│ ├── internal_inc # 对内接口目录
36│ ├── ipc
37│ ├── queue
38│ ├── sched
39│ ├── sync
40│ ├── tm
41│ └── util
42├── test
43└── tools
44 └── ffrt_trace_process
45```
46
47## 编译构建
48
49For detailed instructions on building FFRT, see [BUILD.md](BUILD.md).
50
51## Testing
52
53For detailed instructions on testing FFRT, see [TESTING.md](TESTING.md).
54
55## Benchmarks
56
57To evaluate and verify the performance of FFRT, extensive benchmark tests were conducted. These tests utilized various datasets and real-world scenarios to ensure reliability and efficiency across different environments.
58
59Detailed test results and analyses can be found in the `benchmarks` directory. We encourage community members to perform further tests based on their specific use cases and provide feedback to help us continuously improve FFRT.
60
61For detailed instructions on conducting benchmark tests, see [BENCHMARKS.md](BENCHMARKS.md).
62
63## Release
64
65Please see the [Release](RELEASE.md) note for information about C and C++ API versions.
66
67## Contributing Code
68
69Please see the [Contributing](CONTRIBUTING.md) guide for information on how to contribute code.
70