Home
last modified time | relevance | path

Searched refs:entry_ (Results 1 - 7 of 7) sorted by relevance

/base/hiviewdfx/hiview/framework/native/unified_collection/collector/device_client/
H A Dthread_cpu_data.cpp26 ThreadCpuData::ThreadCpuData(int magic, int pid, unsigned int threadCount): entry_(nullptr), current_(0) in ThreadCpuData()
35 entry_ = (struct ucollection_thread_cpu_entry *)malloc(totalSize); in Init()
36 if (entry_ == NULL) { in Init()
39 memset_s(entry_, totalSize, 0, totalSize); in Init()
40 entry_->magic = magic; in Init()
41 entry_->total_count = totalCount; in Init()
42 entry_->cur_count = 0; in Init()
43 entry_->filter.pid = pid; in Init()
48 if (entry_ == NULL) { in ~ThreadCpuData()
51 free(entry_); in ~ThreadCpuData()
[all...]
H A Dprocess_cpu_data.cpp23 ProcessCpuData::ProcessCpuData(int magic, int pid, unsigned int count): entry_(nullptr), current_(0) in ProcessCpuData()
32 entry_ = (struct ucollection_process_cpu_entry *)malloc(totalSize); in Init()
33 if (entry_ == NULL) { in Init()
36 memset_s(entry_, totalSize, 0, totalSize); in Init()
37 entry_->magic = magic; in Init()
38 entry_->total_count = totalCount; in Init()
39 entry_->cur_count = 0; in Init()
40 entry_->filter.pid = pid; in Init()
45 if (entry_ == NULL) { in ~ProcessCpuData()
48 free(entry_); in ~ProcessCpuData()
[all...]
H A Dcollect_device_client.cpp91 int ret = ioctl(fd_, IOCTRL_COLLECT_ALL_PROC_CPU, data->entry_); in FetchProcessCpuData()
104 int ret = ioctl(fd_, IOCTRL_COLLECT_THE_PROC_CPU, data->entry_); in FetchProcessCpuData()
145 int ret = ioctl(fd_, IOCTRL_COLLECT_THE_THREAD, data->entry_); in FetchThreadCpuData()
162 int ret = ioctl(fd_, IOCTRL_COLLECT_APP_THREAD, data->entry_); in FetchSelfThreadCpuData()
/base/location/services/utils/lbsutils/source/
H A Dlbs_res_loader.cpp20 LbsResLoader::LbsResLoader() : loader_(RES_DLL_NAME), entry_(nullptr) in LbsResLoader()
30 if (entry_ == nullptr) { in GetSystemRegion()
31 entry_ = loader_.GetFunction("Create"); in GetSystemRegion()
33 if (entry_ == nullptr) { in GetSystemRegion()
37 return entry_()->GetSystemRegion(); in GetSystemRegion()
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/
H A Dthread_cpu_data.h32 struct ucollection_thread_cpu_entry *entry_; member in OHOS::HiviewDFX::ThreadCpuData
H A Dprocess_cpu_data.h31 struct ucollection_process_cpu_entry *entry_; member in OHOS::HiviewDFX::ProcessCpuData
/base/location/services/utils/lbsutils/include/
H A Dlbs_res_loader.h37 IResources *(*entry_)(); member in OHOS::Location::LbsResLoader

Completed in 2 milliseconds