Home
last modified time | relevance | path

Searched refs:cpuUsagePid_ (Results 1 – 7 of 7) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcpu_dumper.cpp44 cpuUsagePid_ = (parameter->GetOpts()).cpuUsagePid_; in PreExecute()
45 if (cpuUsagePid_ != -1) { in PreExecute()
72 if (cpuUsagePid_ != -1) { in AfterExecute()
91 if (cpuUsagePid_ != -1) { in DumpCpuUsageData()
130 if (!DumpCpuInfoUtil::GetInstance().GetOldSpecProcInfo(cpuUsagePid_, oldSpecProc_)) { in GetProcCPUInfo()
132 if (!DumpCpuInfoUtil::GetInstance().GetOldSpecProcInfo(cpuUsagePid_, oldSpecProc_)) { in GetProcCPUInfo()
133 DUMPER_HILOGE(MODULE_COMMON, "Get old process %{public}d info failed!.", cpuUsagePid_); in GetProcCPUInfo()
145 if (!DumpCpuInfoUtil::GetInstance().GetCurSpecProcInfo(cpuUsagePid_, curSpecProc_)) { in GetProcCPUInfo()
146 DUMPER_HILOGE(MODULE_COMMON, "Get current process %{public}d info failed!.", cpuUsagePid_); in GetProcCPUInfo()
254 if (cpuUsagePid_ != -1) { in CreateCPUStatString()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/src/common/
Ddumper_opts.cpp43 cpuUsagePid_ = -1; in Reset()
72 cpuUsagePid_ = opts.cpuUsagePid_; in operator =()
150 if (cpuUsagePid_ < -1) { in CheckOptions()
151 errStr = std::to_string(cpuUsagePid_); in CheckOptions()
201 isDumpCpuUsage_, cpuUsagePid_); in Dump()
/base/hiviewdfx/hidumper/frameworks/native/include/common/
Ddumper_opts.h24 int cpuUsagePid_; member
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dcpu_dumper.h56 int cpuUsagePid_ = -1; variable
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
Ddump_implement.cpp153 opts.cpuUsagePid_ = clientPid; in CmdParse()
246 status = SetCmdIntegerParameter(argv[optind - 1], opts_.cpuUsagePid_); in SetCmdParameter()
624 if ((opts_.cpuUsagePid_ > -1) && !DumpUtils::CheckProcessAlive(opts_.cpuUsagePid_)) { in CheckProcessAlive()
625 SendPidErrorMessage(opts_.cpuUsagePid_); in CheckProcessAlive()
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Dconfig_utils.cpp315 isDumpSystemSystem, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()
316 if (isDumpSystemSystem && (dumperOpts.cpuUsagePid_ < 0)) { in HandleDumpCpuUsage()
323 MergePidInfos(currentPidInfos_, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()
/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_dumpers_test.cpp407 opts.cpuUsagePid_ = -1;
430 opts.cpuUsagePid_ = getpid();