Searched refs:cpuUsagePid_ (Results 1 – 7 of 7) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | cpu_dumper.cpp | 44 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/ |
D | dumper_opts.cpp | 43 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/ |
D | dumper_opts.h | 24 int cpuUsagePid_; member
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/ |
D | cpu_dumper.h | 56 int cpuUsagePid_ = -1; variable
|
/base/hiviewdfx/hidumper/frameworks/native/src/manager/ |
D | dump_implement.cpp | 153 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/ |
D | config_utils.cpp | 315 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/ |
D | hidumper_dumpers_test.cpp | 407 opts.cpuUsagePid_ = -1; 430 opts.cpuUsagePid_ = getpid();
|