Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/
H A Dcpu_dumper.cpp38 cpuUsagePid_ = (parameter->GetOpts()).cpuUsagePid_; in PreExecute()
75 dumpCpu.cpuUsagePid_ = cpuUsagePid_; in GetDumpCpuData()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/common/
H A Ddumper_opts.cpp43 cpuUsagePid_ = -1; in Reset()
87 cpuUsagePid_ = opts.cpuUsagePid_; in operator =()
189 if (cpuUsagePid_ < -1) { in CheckOptions()
190 errStr = std::to_string(cpuUsagePid_); in CheckOptions()
/ohos5.0/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_cpu_data.cpp24 … : startTime_(startTime), endTime_(endTime), cpuUsagePid_(cpuUsagePid), dumpCPUDatas_(dumpCPUDatas) in DumpCpuData()
36 RETURN_PARCEL_WRITE_HELPER_RET(parcel, Int32, cpuUsagePid_, false); in Marshalling()
63 RETURN_PARCEL_READ_HELPER_RET(parcel, Int32, cpuUsagePid_, false); in ReadFromParcel()
H A Ddump_manager_cpu_service.cpp92 cpuUsagePid_ = dumpCpuData.cpuUsagePid_; in InitParam()
93 if (cpuUsagePid_ != INVALID_PID) { in InitParam()
104 if (cpuUsagePid_ != INVALID_PID) { in ResetParam()
115 if (cpuUsagePid_ != INVALID_PID) { in DumpCpuUsageData()
116 if (!GetSingleProcInfo(cpuUsagePid_, curSpecProc_)) { in DumpCpuUsageData()
351 if (cpuUsagePid_ != INVALID_PID) { in DumpProcInfo()
362 … DUMPER_HILOGE(MODULE_CPU_SERVICE, "Dump process %{public}d cpu info failed!.", cpuUsagePid_); in DumpProcInfo()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/executor/
H A Dcpu_dumper.h36 int cpuUsagePid_ = -1; variable
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/manager/
H A Ddump_implement.cpp174 opts.cpuUsagePid_ = clientPid; in CmdParse()
287 status = SetCmdIntegerParameter(argv[optind - 1], opts_.cpuUsagePid_); in SetCmdParameter()
772 if ((opts_.cpuUsagePid_ > -1) && !DumpUtils::CheckProcessAlive(opts_.cpuUsagePid_)) { in CheckProcessAlive()
773 SendPidErrorMessage(opts_.cpuUsagePid_); in CheckProcessAlive()
832 "CPU_USAGE_PID", opts_.cpuUsagePid_, in ReportCmdUsage()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/common/
H A Ddumper_opts.h24 int cpuUsagePid_; member
/ohos5.0/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/
H A Ddump_cpu_data.h54 int cpuUsagePid_ = -1; variable
/ohos5.0/base/hiviewdfx/hidumper/services/native/include/
H A Ddump_manager_cpu_service.h91 int cpuUsagePid_{-1};
/ohos5.0/base/hiviewdfx/hidumper/test/unittest/common/
H A Dhidumper_innerkits_test.cpp213 opts.cpuUsagePid_ = g_pid;
H A Dhidumper_dumpers_test.cpp136 opts.cpuUsagePid_ = pid; in HandleCpuDumperTest()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Dconfig_utils.cpp341 isDumpSystemSystem, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()
342 if (isDumpSystemSystem && (dumperOpts.cpuUsagePid_ < 0)) { in HandleDumpCpuUsage()
349 MergePidInfos(currentPidInfos_, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()