/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | multithread_constructor.c | 46 NOINLINE int MultiThreadConstructor(const int threadNum) in MultiThreadConstructor() argument 48 pthread_t t[threadNum]; in MultiThreadConstructor() 49 int threadID[threadNum]; in MultiThreadConstructor() 51 for (int i = 0; i < threadNum; ++i) { in MultiThreadConstructor() 64 NOINLINE int MultiThreadConstructorForThreadCrash(const int threadNum) in MultiThreadConstructorForThreadCrash() argument 66 pthread_t t[threadNum]; in MultiThreadConstructorForThreadCrash() 67 int threadID[threadNum]; in MultiThreadConstructorForThreadCrash() 69 int threadIDCrash = threadNum; in MultiThreadConstructorForThreadCrash() 71 for (int i = 0; i < threadNum; ++i) { in MultiThreadConstructorForThreadCrash()
|
H A D | dfx_processdump_test.cpp | 70 static pid_t CreateMultiThreadProcess(int threadNum) in CreateMultiThreadProcess() argument 76 (void)MultiThreadConstructor(threadNum); in CreateMultiThreadProcess() 81 static pid_t CreateMultiThreadForThreadCrash(int threadNum) in CreateMultiThreadForThreadCrash() argument 87 (void)MultiThreadConstructorForThreadCrash(threadNum); in CreateMultiThreadForThreadCrash() 92 static pid_t CreateMultiThreadForThreadCrashWithOpen(int threadNum, int openNum) in CreateMultiThreadForThreadCrashWithOpen() argument 101 (void)MultiThreadConstructorForThreadCrash(threadNum); in CreateMultiThreadForThreadCrashWithOpen()
|
H A D | multithread_constructor.h | 30 int MultiThreadConstructor(const int threadNum); 31 int MultiThreadConstructorForThreadCrash(const int threadNum);
|
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | string_utils_test.cpp | 82 void TestThread(int* num, int threadNum, Lock* lock) in TestThread() argument 85 for (int i = 0; i < threadNum; ++i) { in TestThread() 101 int threadNum = 3; variable 102 int result = num + threadNum; 104 TestThread(&num, threadNum, &lock);
|
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | ws_ffrt_helper_test.cpp | 91 constexpr int threadNum = 100; variable 93 SET_THREAD_NUM(threadNum); 107 ASSERT_EQ(result, TASK_NUM * threadNum); 147 constexpr int threadNum = 10; variable 149 SET_THREAD_NUM(threadNum); 160 ASSERT_EQ(result, totalTaskNum - threadNum * TASK_NUM);
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
H A D | get_hardware_info.cpp | 162 size_t threadNum = in GetHardwareUsage() local 164 if (threadNum == 0) { in GetHardwareUsage() 165 threadNum = 1; in GetHardwareUsage() 167 size_t groupSize = (size - 1) / threadNum + 1; in GetHardwareUsage() 169 for (size_t i = 0; i < threadNum; i++) { in GetHardwareUsage()
|
H A D | memory_util.cpp | 112 size_t MemoryUtil::GetMaxThreadNum(const size_t &threadNum) in GetMaxThreadNum() argument 117 maxThreadNum = threadNum; in GetMaxThreadNum() 118 } else if (hardwareThreads < threadNum) { in GetMaxThreadNum() 121 maxThreadNum = threadNum; in GetMaxThreadNum()
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | string_utils_test.cpp | 81 void TestThread(int* num, int threadNum, Lock* lock) in TestThread() argument 84 for (int i = 0; i < threadNum; ++i) { in TestThread() 100 int threadNum = 3; variable 101 int result = num + threadNum; 103 TestThread(&num, threadNum, &lock);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/ |
H A D | thumbnail_generate_worker.cpp | 50 int32_t threadNum; in Init() local 55 threadNum = THREAD_NUM_FOREGROUND; in Init() 59 threadNum = THREAD_NUM_BACKGROUND; in Init() 68 for (auto i = 0; i < threadNum; i++) { in Init()
|
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/refbase_fuzzer/ |
H A D | refbase_fuzzer.cpp | 351 uint8_t threadNum = 1; in RefbaseTestFunc() local 353 threadNum = dataProvider->ConsumeIntegralInRange<uint8_t>(1, MAX_THREADS); in RefbaseTestFunc() 355 for (uint8_t i = 0; i < threadNum; i++) { in RefbaseTestFunc()
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
H A D | memory_util.h | 46 size_t GetMaxThreadNum(const size_t &threadNum);
|
/ohos5.0/base/hiviewdfx/hiview/base/event_publish/include/ |
H A D | app_event_handler.h | 134 uint32_t threadNum = 0; member
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | process_skeleton.cpp | 451 [&threadNum = this->runningChildThreadNum_] { return threadNum.load() == 0; }); in NotifyChildThreadStop()
|
/ohos5.0/commonlibrary/c_utils/docs/en/ |
H A D | c_utils_thread_pool.md | 27 | uint32_t | **Start**(int threadsNum)<br>Start a given number(threadNum) of threads, which will ex…
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/ |
H A D | videoenc_stable_unit_test.cpp | 957 uint64_t threadNum = 0; in main() local 962 threadNum = GetNum(argv[i], "--thread_num"); in main() 970 } else if (threadNum > 0) { in main() 971 VideoEncSample::threadNum_ = threadNum; in main()
|
H A D | videodec_stable_unit_test.cpp | 1110 uint64_t threadNum = 0; in main() local 1115 threadNum = GetNum(argv[i], "--thread_num"); in main() 1129 } else if (threadNum > 0) { in main() 1130 VideoDecSample::threadNum_ = threadNum; in main()
|
H A D | videodec_hevcdec_unit_test.cpp | 2024 uint64_t threadNum = 0; in main() local 2030 threadNum = GetNum(argv[i], "--thread_num"); in main() 2038 } else if (threadNum > 0) { in main() 2039 VideoDecSample::threadNum_ = threadNum; in main()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/ |
H A D | distributeddb_communicator_deep_test.cpp | 1054 int threadNum = 3; variable 1055 threads.reserve(threadNum); 1056 for (int n = 0; n < threadNum; n++) {
|
/ohos5.0/base/hiviewdfx/hiview/base/event_publish/ |
H A D | app_event_handler.cpp | 183 AddValueToJsonString("num", event.threadNum, jsonStr, true); in PostEvent()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-ai.md | 19 |新增|NA|类名:CpuDevice;<br>方法or属性:threadNum?: number;|@ohos.ai.mindSporeLite.d.ts|
|
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-ai.md | 19 |Added|NA|Class name: CpuDevice;<br>Method or attribute name: threadNum?: number;|@ohos.ai.mindSpor…
|
/ohos5.0/docs/zh-cn/application-dev/ai/mindspore/ |
H A D | mindspore-guidelines-based-js.md | 185 context.cpu.threadNum = 2;
|
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/taskpool/ |
H A D | task_manager.cpp | 129 int64_t threadNum = static_cast<int64_t>(workers_.size()); in CountTraceForWorker() local 133 HITRACE_HELPER_COUNT_TRACE("threadNum", threadNum); in CountTraceForWorker() 134 HITRACE_HELPER_COUNT_TRACE("runningThreadNum", threadNum - idleWorkers); in CountTraceForWorker()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mindspore-lite-kit/ |
H A D | js-apis-mindSporeLite.md | 460 | threadNum | number | 否 | 是 | 设置运行时的线程数,默认值:2。… 473 context.cpu.threadNum = 2;
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-ai.md | 94 |新增|NA|类名:CpuDevice;<br>方法or属性:threadNum?: number;|@ohos.ai.mindSporeLite.d.ts|
|