Home
last modified time | relevance | path

Searched refs:cpuCollector_ (Results 1 - 6 of 6) sorted by relevance

/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
H A Dcpu_decorator.cpp28 if (cpuCollector_ == nullptr) { in CollectSysCpuLoad()
31 auto task = [this] { return cpuCollector_->CollectSysCpuLoad(); }; in CollectSysCpuLoad()
38 if (cpuCollector_ == nullptr) { in CollectSysCpuUsage()
41 auto task = [this, &isNeedUpdate] { return cpuCollector_->CollectSysCpuUsage(isNeedUpdate); }; in CollectSysCpuUsage()
48 if (cpuCollector_ == nullptr) { in GetSysCpuUsage()
51 auto task = [this] { return cpuCollector_->GetSysCpuUsage(); }; in GetSysCpuUsage()
58 if (cpuCollector_ == nullptr) { in CollectProcessCpuStatInfo()
61 auto task = [this, &pid, &isNeedUpdate] { return cpuCollector_->CollectProcessCpuStatInfo(pid, isNeedUpdate); }; in CollectProcessCpuStatInfo()
68 if (cpuCollector_ == nullptr) { in CollectCpuFrequency()
71 auto task = [this] { return cpuCollector_ in CollectCpuFrequency()
[all...]
/base/hiviewdfx/hiview/plugins/unified_collector/task/
H A Dcpu_collection_task.cpp57 cpuCollector_ = UCollectUtil::CpuCollector::Create(); in InitCpuCollector()
58 threadCpuCollector_ = cpuCollector_->CreateThreadCollector(getprocpid()); in InitCpuCollector()
91 auto processCpuStatInfo = cpuCollector_->CollectProcessCpuStatInfo(pid); in CheckAndDumpTraceData()
111 auto cpuCollectionsResult = cpuCollector_->CollectProcessCpuStatInfos(true); in CollectCpuData()
128 cpuCollector_->CollectSysCpuUsage(true); in CollectCpuData()
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/include/
H A Dcpu_decorator.h28 std::shared_ptr<ThreadCpuCollector> threadCpuCollector = nullptr) : cpuCollector_(collector), in CpuDecorator()
48 std::shared_ptr<CpuCollector> cpuCollector_; member in OHOS::HiviewDFX::UCollectUtil::CpuDecorator
/base/hiviewdfx/hiview/plugins/unified_collector/task/include/
H A Dcpu_collection_task.h45 std::shared_ptr<UCollectUtil::CpuCollector> cpuCollector_; member in OHOS::HiviewDFX::CpuCollectionTask
/base/hiviewdfx/hiview/service/
H A Dhiview_service.h78 std::shared_ptr<UCollectUtil::CpuCollector> cpuCollector_; member in OHOS::HiviewDFX::HiviewService
H A Dhiview_service.cpp47 cpuCollector_ = UCollectUtil::CpuCollector::Create(); in HiviewService()
473 CollectResult<double> cpuUsageRet = cpuCollector_->GetSysCpuUsage(); in GetSysCpuUsage()

Completed in 3 milliseconds