Searched refs:curProcs_ (Results 1 – 6 of 6) sorted by relevance
255 curProcs_.clear(); in ResetParam()279 if (!DumpCpuInfoUtil::GetInstance().GetCurProcInfo(curProcs_)) { in DumpCpuUsageData()398 for (size_t i = 0; i < curProcs_.size(); i++) { in CreateCPUStatString()399 if (curProcs_[i] == nullptr) { in CreateCPUStatString()402 std::shared_ptr<ProcInfo> oldProc = GetOldProc(curProcs_[i]->pid); in CreateCPUStatString()404 curProcs_[i]->userSpaceUsage = in CreateCPUStatString()405 (curProcs_[i]->uTime - oldProc->uTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()406 curProcs_[i]->sysSpaceUsage = in CreateCPUStatString()407 (curProcs_[i]->sTime - oldProc->sTime) * HUNDRED_PERCENT_VALUE / totalDeltaTime; in CreateCPUStatString()408 … curProcs_[i]->totalUsage = curProcs_[i]->userSpaceUsage + curProcs_[i]->sysSpaceUsage; in CreateCPUStatString()[all …]
44 curProcs_.clear(); in ~DumpCpuInfoUtil()55 oldProcs_.assign(curProcs_.begin(), curProcs_.end()); in UpdateCpuInfo()56 GetCurProcInfo(curProcs_); in UpdateCpuInfo()234 procInfos.assign(curProcs_.begin(), curProcs_.end()); in GetOldProcInfo()244 for (size_t i = 0; i < curProcs_.size(); i++) { in GetOldSpecProcInfo()245 if (curProcs_[i] == nullptr) { in GetOldSpecProcInfo()248 if (!IsNumericStr(curProcs_[i]->pid)) { in GetOldSpecProcInfo()252 if (!StrToInt(curProcs_[i]->pid, specPid)) { in GetOldSpecProcInfo()256 CopyProcInfo(specProc, curProcs_[i]); in GetOldSpecProcInfo()
40 std::vector<std::shared_ptr<ProcInfo>> curProcs_; variable
72 curProcs_.clear(); in AfterExecute()
91 std::vector<std::shared_ptr<ProcInfo>> curProcs_; variable
80 std::vector<std::shared_ptr<ProcInfo>> curProcs_; variable