Home
last modified time | relevance | path

Searched refs:threadsNum (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/thread_pool_benchmark_test/
H A Dthread_pool_benchmark_test.cpp63 const int threadsNum = 0; in BENCHMARK_F() local
70 AssertEqual((int)pool.GetThreadsNum(), threadsNum, in BENCHMARK_F()
82 const int threadsNum = 0; in BENCHMARK_F() local
90 AssertEqual((int)pool.GetThreadsNum(), threadsNum, in BENCHMARK_F()
102 const int threadsNum = 0; in BENCHMARK_F() local
124 const int threadsNum = 4; in BENCHMARK_F() local
171 const int threadsNum = 5; in BENCHMARK_F() local
207 const int threadsNum = 5; in BENCHMARK_F() local
264 const int threadsNum = 5; in BENCHMARK_F() local
307 const int threadsNum = 5; in BENCHMARK_F() local
[all …]
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc_utils_thread_pool.md27 | uint32_t | **Start**(int threadsNum)<br>启动给定数量threadsNum的线程,执行任务队列中的任务。 |
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dthread_pool.h60 uint32_t Start(int threadsNum);
/ohos5.0/commonlibrary/c_utils/docs/en/
H A Dc_utils_thread_pool.md27 | uint32_t | **Start**(int threadsNum)<br>Start a given number(threadNum) of threads, which will ex…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_mgr_service_event_handler.cpp985 size_t threadsNum = static_cast<size_t>(installerHost->GetThreadsNum()); in AddTaskParallel() local
987 taskPriority, tasks.size(), userId, threadsNum); in AddTaskParallel()
991 if (installerHost->GetCurTaskNum() >= threadsNum) { in AddTaskParallel()
1830 size_t threadsNum = static_cast<size_t>(installerHost->GetThreadsNum()); in InnerMultiProcessBundleInstall() local
1831 …DEFAULT, "multi install start, totalNum: %{public}zu, num: %{public}zu", taskTotalNum, threadsNum); in InnerMultiProcessBundleInstall()