Home
last modified time | relevance | path

Searched refs:oldCPUInfo_ (Results 1 – 6 of 6) sorted by relevance

/base/hiviewdfx/hidumper/services/native/src/
Ddump_manager_cpu_service.cpp247 oldCPUInfo_ = std::make_shared<CPUInfo>(); in InitParam()
254 oldCPUInfo_.reset(); in ResetParam()
269 if (!DumpCpuInfoUtil::GetInstance().GetOldCPUInfo(oldCPUInfo_)) { in DumpCpuUsageData()
321 DumpCpuInfoUtil::GetInstance().CopyCpuInfo(oldCPUInfo_, curCPUInfo_); in GetProcCPUInfo()
389 … - (oldCPUInfo_->uTime + oldCPUInfo_->nTime + oldCPUInfo_->sTime + oldCPUInfo_->iTime in CreateCPUStatString()
390 … + oldCPUInfo_->iowTime + oldCPUInfo_->irqTime + oldCPUInfo_->sirqTime); in CreateCPUStatString()
418 …((curCPUInfo_->uTime + curCPUInfo_->nTime) - (oldCPUInfo_->uTime + oldCPUInfo_->nTime)) * HUNDRED_… in CreateCPUStatString()
420 …long unsigned sysSpaceUsage = (curCPUInfo_->sTime - oldCPUInfo_->sTime) * HUNDRED_PERCENT_VALUE / … in CreateCPUStatString()
421 …long unsigned iowUsage = (curCPUInfo_->iowTime - oldCPUInfo_->iowTime) * HUNDRED_PERCENT_VALUE / t… in CreateCPUStatString()
423 … ((curCPUInfo_->irqTime + curCPUInfo_->sirqTime) - (oldCPUInfo_->irqTime + oldCPUInfo_->sirqTime)) in CreateCPUStatString()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcpu_dumper.cpp44 oldCPUInfo_ = std::make_shared<CPUInfo>(); in PreExecute()
71 oldCPUInfo_.reset(); in AfterExecute()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dcpu_dumper.h39 std::shared_ptr<CPUInfo> oldCPUInfo_; variable
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Ddump_cpu_info_util.cpp36 oldCPUInfo_ = std::make_shared<CPUInfo>(); in DumpCpuInfoUtil()
43 oldCPUInfo_.reset(); in ~DumpCpuInfoUtil()
53 CopyCpuInfo(oldCPUInfo_, curCPUInfo_); in UpdateCpuInfo()
226 CopyCpuInfo(cpuInfo, oldCPUInfo_); in GetOldCPUInfo()
/base/hiviewdfx/hidumper/frameworks/native/include/util/
Ddump_cpu_info_util.h90 std::shared_ptr<CPUInfo> oldCPUInfo_; variable
/base/hiviewdfx/hidumper/services/native/include/
Ddump_manager_cpu_service.h77 std::shared_ptr<CPUInfo> oldCPUInfo_{nullptr};