Home
last modified time | relevance | path

Searched refs:threadCount (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/device_client/
H A Dcollect_device_client.cpp115 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 Dthread_cpu_data.cpp26 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 Dtask_queue_factory.cpp139 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 Dbacktrace_utils_test.cpp242 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 Dcpu.h64 int32_t threadCount = 0; member
/ohos5.0/base/hiviewdfx/hiview/base/include/
H A Dplugin_config.h41 int32_t threadCount = 0; member
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Dskinning_system.cpp314 const auto threadCount = threadPool_->GetNumberOfThreads(); in Update() local
318 … const auto taskSize = Math::max(minTaskSize, resultCount / (threadCount == 0 ? 1 : threadCount)); in Update()
H A Danimation_system.cpp739 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 Dnative_safe_async_work.h66 size_t threadCount,
H A Dnative_safe_async_work.cpp78 size_t threadCount, in NativeSafeAsyncWork() argument
84 threadCount_(threadCount), finalizeData_(finalizeData), finalizeCallback_(finalizeCallback), in NativeSafeAsyncWork()
H A Dnative_engine.cpp349 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 Dnative_engine.h174 napi_value asyncResourceName, size_t maxQueueSize, size_t threadCount, void* finalizeData,
/ohos5.0/base/hiviewdfx/hiview/core/
H A Dplugin_config.cpp101 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 Ddistributeddb_common_test.cpp559 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 Dintf_thread_pool.h222 virtual IThreadPool::Ptr CreateThreadPool(const uint32_t threadCount) const = 0;
/ohos5.0/foundation/arkui/napi/test/unittest/
H A Dtest_napi_threadsafe.cpp871 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 Dtest_ark_interop.cpp880 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 Dprocess_state_info_collector.cpp172 processCpuStatInfo.threadCount = procCpuItem->thread_total; in CalculateProcessCpuStatInfo()
/ohos5.0/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
H A Dsys_event_dao_test.cpp254 int threadCount = 5; variable
256 for (int i = 0; i < threadCount; i++) {
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/storage/
H A Dcpu_storage.cpp327 bucket.PutInt(COLUMN_THREAD_CNT, cpuCollectionInfo.threadCount); in StoreProcessData()
/ohos5.0/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_native_test.cpp1195 int threadCount = 5; variable
1197 for (int i = 0; i < threadCount; i++) {