/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/device_client/ |
H A D | collect_device_client.cpp | 115 struct ucollection_process_thread_count threadCount {pid, 0}; in GetThreadCount() struct 116 int ret = ioctl(fd_, IOCTRL_COLLECT_THREAD_COUNT, &threadCount); in GetThreadCount() 121 return threadCount.thread_count; in GetThreadCount() 127 struct ucollection_process_thread_count threadCount {pid, 0}; in GetSelfThreadCount() struct 128 int ret = ioctl(fd_, IOCTRL_COLLECT_APP_THREAD_COUNT, &threadCount); in GetSelfThreadCount() 133 return threadCount.thread_count; in GetSelfThreadCount() 139 unsigned int threadCount = GetThreadCount(pid); in FetchThreadCpuData() local 140 if (threadCount <= 0) { in FetchThreadCpuData() 144 auto data = std::make_shared<ThreadCpuData>(IOCTRL_COLLECT_THE_THREAD, pid, threadCount); in FetchThreadCpuData() 156 unsigned int threadCount = GetSelfThreadCount(pid); in FetchSelfThreadCpuData() local [all …]
|
H A D | thread_cpu_data.cpp | 26 ThreadCpuData::ThreadCpuData(int magic, int pid, unsigned int threadCount): entry_(nullptr), curren… in ThreadCpuData() argument 28 Init(magic, threadCount + ADD_COUNT, pid); in ThreadCpuData()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/threading/ |
H A D | task_queue_factory.cpp | 139 explicit ThreadPool(size_t threadCount) in ThreadPool() argument 140 : threadCount_(threadCount), threads_(make_unique<ThreadContext[]>(threadCount)) in ThreadPool() 406 IThreadPool::Ptr TaskQueueFactory::CreateThreadPool(const uint32_t threadCount) const in CreateThreadPool() 408 return IThreadPool::Ptr { new ThreadPool(threadCount) }; in CreateThreadPool()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/backtrace/ |
H A D | backtrace_utils_test.cpp | 242 constexpr int32_t threadCount = 50; variable 243 std::vector<std::thread> threads(threadCount);
|
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/resource/ |
H A D | cpu.h | 64 int32_t threadCount = 0; member
|
/ohos5.0/base/hiviewdfx/hiview/base/include/ |
H A D | plugin_config.h | 41 int32_t threadCount = 0; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | skinning_system.cpp | 314 const auto threadCount = threadPool_->GetNumberOfThreads(); in Update() local 318 … const auto taskSize = Math::max(minTaskSize, resultCount / (threadCount == 0 ? 1 : threadCount)); in Update()
|
H A D | animation_system.cpp | 739 const auto threadCount = threadPool_->GetNumberOfThreads() + 1; in Update() local 741 taskSize_ = Math::max(systemProperties_.minTaskSize, resultCount / threadCount); in Update()
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_safe_async_work.h | 66 size_t threadCount,
|
H A D | native_safe_async_work.cpp | 78 size_t threadCount, in NativeSafeAsyncWork() argument 84 threadCount_(threadCount), finalizeData_(finalizeData), finalizeCallback_(finalizeCallback), in NativeSafeAsyncWork()
|
H A D | native_engine.cpp | 349 napi_value asyncResourceName, size_t maxQueueSize, size_t threadCount, void* finalizeData, in CreateSafeAsyncWork() argument 352 …rn new NativeSafeAsyncWork(this, func, asyncResource, asyncResourceName, maxQueueSize, threadCount, in CreateSafeAsyncWork()
|
H A D | native_engine.h | 174 napi_value asyncResourceName, size_t maxQueueSize, size_t threadCount, void* finalizeData,
|
/ohos5.0/base/hiviewdfx/hiview/core/ |
H A D | plugin_config.cpp | 101 poolInfo.threadCount = atoi(std::string(result[countOfThreadPoolField]).c_str()), in ParsePlugin()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_common_test.cpp | 559 int threadCount = 1000; variable 562 for (int i = 0; i < threadCount; i++) { 577 EXPECT_EQ(count1, threadCount);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/threading/ |
H A D | intf_thread_pool.h | 222 virtual IThreadPool::Ptr CreateThreadPool(const uint32_t threadCount) const = 0;
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_napi_threadsafe.cpp | 871 int threadCount = THREAD_COUNT_FOUR; variable 874 for (int i = 0; i < threadCount; i++) { 915 int threadCount = THREAD_COUNT_FOUR; variable 918 for (int i = 0; i < threadCount; i++) {
|
/ohos5.0/foundation/arkui/napi/test/unittest/cj_native/ |
H A D | test_ark_interop.cpp | 880 constexpr int threadCount = 1000; in TEST_F() local 881 std::thread threads[threadCount]; in TEST_F() 882 for (int i = 0; i < threadCount; i++) { in TEST_F()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | process_state_info_collector.cpp | 172 processCpuStatInfo.threadCount = procCpuItem->thread_total; in CalculateProcessCpuStatInfo()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/test/unittest/common/ |
H A D | sys_event_dao_test.cpp | 254 int threadCount = 5; variable 256 for (int i = 0; i < threadCount; i++) {
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/storage/ |
H A D | cpu_storage.cpp | 327 bucket.PutInt(COLUMN_THREAD_CNT, cpuCollectionInfo.threadCount); in StoreProcessData()
|
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/ |
H A D | hisysevent_native_test.cpp | 1195 int threadCount = 5; variable 1197 for (int i = 0; i < threadCount; i++) {
|