Searched refs:cpuUsagePid_ (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
H A D | cpu_dumper.cpp | 38 cpuUsagePid_ = (parameter->GetOpts()).cpuUsagePid_; in PreExecute() 75 dumpCpu.cpuUsagePid_ = cpuUsagePid_; in GetDumpCpuData()
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/common/ |
H A D | dumper_opts.cpp | 43 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 D | dump_cpu_data.cpp | 24 … : 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 D | dump_manager_cpu_service.cpp | 92 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 D | cpu_dumper.h | 36 int cpuUsagePid_ = -1; variable
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/manager/ |
H A D | dump_implement.cpp | 174 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 D | dumper_opts.h | 24 int cpuUsagePid_; member
|
/ohos5.0/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
H A D | dump_cpu_data.h | 54 int cpuUsagePid_ = -1; variable
|
/ohos5.0/base/hiviewdfx/hidumper/services/native/include/ |
H A D | dump_manager_cpu_service.h | 91 int cpuUsagePid_{-1};
|
/ohos5.0/base/hiviewdfx/hidumper/test/unittest/common/ |
H A D | hidumper_innerkits_test.cpp | 213 opts.cpuUsagePid_ = g_pid;
|
H A D | hidumper_dumpers_test.cpp | 136 opts.cpuUsagePid_ = pid; in HandleCpuDumperTest()
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/util/ |
H A D | config_utils.cpp | 341 isDumpSystemSystem, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage() 342 if (isDumpSystemSystem && (dumperOpts.cpuUsagePid_ < 0)) { in HandleDumpCpuUsage() 349 MergePidInfos(currentPidInfos_, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()
|