• Home
Name Date Size #Lines LOC

..--

benchmarks/06-May-2025-1,201822

docs/06-May-2025-5,3553,685

examples/06-May-2025-9264

interfaces/06-May-2025-4,6261,696

scripts/06-May-2025-8229

src/06-May-2025-24,89918,963

test/06-May-2025-10,4207,584

tools/ffrt_trace_process/06-May-2025-1,5891,185

.autocorrectignoreD06-May-2025595 1413

.autocorrectrcD06-May-20252.1 KiB7372

.clang-formatD06-May-2025338 1615

.gitignoreD06-May-2025100 109

.markdownlint.jsonD06-May-202574 66

BENCHMARKS.mdD06-May-2025549 2013

BUILD.gnD06-May-20256.6 KiB261236

BUILD.mdD06-May-20253.8 KiB10973

CMakeLists.txtD06-May-20253.7 KiB11697

CONTRIBUTING.mdD06-May-20253.4 KiB7041

LICENSED06-May-202511.1 KiB202169

OAT.xmlD06-May-20251.5 KiB3214

README.mdD06-May-20252.7 KiB7051

RELEASE.mdD06-May-2025228 74

TESTING.mdD06-May-20251.5 KiB6438

bundle.jsonD06-May-20253.4 KiB9694

cspell.jsonD06-May-2025511 2625

ffrt.gniD06-May-2025785 2019

hisysevent.yamlD06-May-20252.2 KiB4832

log_ctr_whitelist.confD06-May-202544 43

worker_monitor.confD06-May-202513 32

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