Home
last modified time | relevance | path

Searched refs:threadCount (Results 1 - 10 of 10) sorted by relevance

/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 in FetchSelfThreadCpuData() local
[all...]
H A Dthread_cpu_data.cpp26 ThreadCpuData::ThreadCpuData(int magic, int pid, unsigned int threadCount): entry_(nullptr), current_(0) in ThreadCpuData() argument
28 Init(magic, threadCount + ADD_COUNT, pid); in ThreadCpuData()
/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/resource/
H A Dcpu.h64 int32_t threadCount = 0; member
/base/hiviewdfx/hiview/base/include/
H A Dplugin_config.h41 int32_t threadCount = 0; member
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/
H A Dbacktrace_utils_test.cpp238 constexpr int32_t threadCount = 50; in HWTEST_F() local
239 std::vector<std::thread> threads(threadCount); in HWTEST_F()
/base/hiviewdfx/hiview/core/
H A Dplugin_config.cpp101 poolInfo.threadCount = atoi(std::string(result[countOfThreadPoolField]).c_str()), in ParsePlugin()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dprocess_state_info_collector.cpp172 processCpuStatInfo.threadCount = procCpuItem->thread_total; in CalculateProcessCpuStatInfo()
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/
H A Dsys_event_dao_test.cpp254 int threadCount = 5; in HWTEST_F() local
256 for (int i = 0; i < threadCount; i++) { in HWTEST_F()
/base/hiviewdfx/hiview/plugins/unified_collector/storage/
H A Dcpu_storage.cpp327 bucket.PutInt(COLUMN_THREAD_CNT, cpuCollectionInfo.threadCount); in StoreProcessData()
/base/hiviewdfx/hisysevent/test/moduletest/common/
H A Dhisysevent_native_test.cpp1195 int threadCount = 5; in HWTEST_F() local
1197 for (int i = 0; i < threadCount; i++) { in HWTEST_F()

Completed in 8 milliseconds