/external/chromium_org/chrome/browser/ |
D | process_info_snapshot_mac_unittest.cc | 32 ProcessInfoSnapshot::ProcInfoEntry proc_info; in TEST_F() local 33 ASSERT_TRUE(snapshot.GetProcInfo(1, &proc_info)); in TEST_F() 34 EXPECT_EQ(1, static_cast<int64>(proc_info.pid)); in TEST_F() 35 EXPECT_EQ(0, static_cast<int64>(proc_info.ppid)); in TEST_F() 36 EXPECT_EQ(0, static_cast<int64>(proc_info.uid)); in TEST_F() 37 EXPECT_EQ(0, static_cast<int64>(proc_info.euid)); in TEST_F() 38 EXPECT_GE(proc_info.rss, 0u); in TEST_F() 39 EXPECT_GT(proc_info.vsize, 0u); in TEST_F() 49 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); in TEST_F() 52 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); in TEST_F() [all …]
|
D | process_info_snapshot_mac.cc | 164 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; in GetProcessMemoryInfoUsingPS() local 165 proc_info.pid = pid; in GetProcessMemoryInfoUsingPS() 166 in >> proc_info.rss; in GetProcessMemoryInfoUsingPS() 167 in >> proc_info.vsize; in GetProcessMemoryInfoUsingPS() 168 proc_info.rss *= 1024; // Convert from kilobytes to bytes. in GetProcessMemoryInfoUsingPS() 169 proc_info.vsize *= 1024; in GetProcessMemoryInfoUsingPS() 171 std::getline(in, proc_info.command); // Get the rest of the line. in GetProcessMemoryInfoUsingPS() 177 if (!proc_info.pid || ! proc_info.vsize) { in GetProcessMemoryInfoUsingPS() 183 proc_info_entries[proc_info.pid] = proc_info; in GetProcessMemoryInfoUsingPS() 259 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; in GetProcessMemoryInfoUsingTop() local [all …]
|
D | memory_details_mac.cc | 158 ProcessInfoSnapshot::ProcInfoEntry proc_info; in CollectProcessData() local 159 if (process_info.GetProcInfo(info.pid, &proc_info)) { in CollectProcessData() 160 if (proc_info.command.length() > 1 && proc_info.command[0] == '/') { in CollectProcessData() 162 base::mac::GetAppBundlePath(base::FilePath(proc_info.command)); in CollectProcessData()
|
D | process_info_snapshot.h | 69 ProcInfoEntry* proc_info) const;
|
/external/chromium_org/third_party/webrtc/base/ |
D | linux_unittest.cc | 22 ProcCpuInfo proc_info; in TEST() local 23 EXPECT_TRUE(proc_info.LoadFromSystem()); in TEST() 26 EXPECT_TRUE(proc_info.GetNumCpus(&out_cpus)); in TEST() 31 EXPECT_TRUE(proc_info.GetNumPhysicalCpus(&out_cpus_phys)); in TEST() 37 EXPECT_TRUE(proc_info.GetCpuFamily(&out_family)); in TEST() 43 EXPECT_TRUE(proc_info.GetSectionStringValue(0, "Processor", &out_processor)); in TEST() 51 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "model", &out_model)); in TEST() 55 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "stepping", &out_stepping)); in TEST() 59 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "processor", &out_processor)); in TEST() 64 EXPECT_TRUE(proc_info.GetSectionStringValue(0, "vendor_id", &out_str)); in TEST()
|
D | systeminfo.cc | 172 ProcCpuInfo proc_info; in SystemInfo() local 173 if (proc_info.LoadFromSystem()) { in SystemInfo() 174 proc_info.GetNumCpus(&logical_cpus_); in SystemInfo() 175 proc_info.GetNumPhysicalCpus(&physical_cpus_); in SystemInfo() 176 proc_info.GetCpuFamily(&cpu_family_); in SystemInfo() 179 proc_info.GetSectionIntValue(0, "model", &cpu_model_); in SystemInfo() 180 proc_info.GetSectionIntValue(0, "stepping", &cpu_stepping_); in SystemInfo() 181 proc_info.GetSectionIntValue(0, "cpu MHz", &cpu_speed_); in SystemInfo() 182 proc_info.GetSectionIntValue(0, "cache size", &cache_size_); in SystemInfo()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | linux_unittest.cc | 39 ProcCpuInfo proc_info; in TEST() local 40 EXPECT_TRUE(proc_info.LoadFromSystem()); in TEST() 43 EXPECT_TRUE(proc_info.GetNumCpus(&out_cpus)); in TEST() 48 EXPECT_TRUE(proc_info.GetNumPhysicalCpus(&out_cpus_phys)); in TEST() 54 EXPECT_TRUE(proc_info.GetCpuFamily(&out_family)); in TEST() 60 EXPECT_TRUE(proc_info.GetSectionStringValue(0, "Processor", &out_processor)); in TEST() 68 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "model", &out_model)); in TEST() 72 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "stepping", &out_stepping)); in TEST() 76 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "processor", &out_processor)); in TEST() 81 EXPECT_TRUE(proc_info.GetSectionStringValue(0, "vendor_id", &out_str)); in TEST()
|
D | systeminfo.cc | 189 ProcCpuInfo proc_info; in SystemInfo() local 190 if (proc_info.LoadFromSystem()) { in SystemInfo() 191 proc_info.GetNumCpus(&logical_cpus_); in SystemInfo() 192 proc_info.GetNumPhysicalCpus(&physical_cpus_); in SystemInfo() 193 proc_info.GetCpuFamily(&cpu_family_); in SystemInfo() 196 proc_info.GetSectionIntValue(0, "model", &cpu_model_); in SystemInfo() 197 proc_info.GetSectionIntValue(0, "stepping", &cpu_stepping_); in SystemInfo() 198 proc_info.GetSectionIntValue(0, "cpu MHz", &cpu_speed_); in SystemInfo() 199 proc_info.GetSectionIntValue(0, "cache size", &cache_size_); in SystemInfo()
|
/external/chromium_org/chrome/test/base/ |
D | chrome_process_util_mac.cc | 50 MacChromeProcessInfo proc_info; in GetRunningMacProcessInfo() local 53 proc_info.pid = pid; in GetRunningMacProcessInfo() 54 base::StringToInt(values[1], &proc_info.rsz_in_kb); in GetRunningMacProcessInfo() 55 base::StringToInt(values[2], &proc_info.vsz_in_kb); in GetRunningMacProcessInfo() 56 if (proc_info.pid && proc_info.rsz_in_kb && proc_info.vsz_in_kb) in GetRunningMacProcessInfo() 57 result.push_back(proc_info); in GetRunningMacProcessInfo()
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
D | mac_platform_backend.py | 79 proc_info = ProcTaskInfo() 82 self.libproc.proc_pidinfo(pid, proc_info.PROC_PIDTASKINFO, 0, 83 ctypes.byref(proc_info), proc_info.size) 86 cpu_time = (proc_info.pti_total_user / 1000000000.0 + 87 proc_info.pti_total_system / 1000000000.0) 89 'ContextSwitches': proc_info.pti_csw}
|
/external/lldb/tools/debugserver/source/ |
D | RNBServices.cpp | 50 struct kinfo_proc &proc_info = proc_infos[i]; in GetPrcoesses() local 57 kinfo_user_matches = proc_info.kp_eproc.e_pcred.p_ruid == our_uid; in GetPrcoesses() 60 const pid_t pid = proc_info.kp_proc.p_pid; in GetPrcoesses() 65 proc_info.kp_proc.p_stat == SZOMB || // Zombies are bad, they like brains... in GetPrcoesses() 66 proc_info.kp_proc.p_flag & P_TRACED || // Being debugged? in GetPrcoesses() 67 proc_info.kp_proc.p_flag & P_WEXIT || // Working on exiting? in GetPrcoesses() 68 proc_info.kp_proc.p_flag & P_TRANSLATED) // Skip translated ppc (Rosetta) in GetPrcoesses() 82 const char *pid_basename = proc_info.kp_proc.p_comm; in GetPrcoesses()
|
/external/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunicationServer.cpp | 281 CreateProcessInfoResponse (const ProcessInstanceInfo &proc_info, StreamString &response) in CreateProcessInfoResponse() argument 284 proc_info.GetProcessID(), in CreateProcessInfoResponse() 285 proc_info.GetParentProcessID(), in CreateProcessInfoResponse() 286 proc_info.GetUserID(), in CreateProcessInfoResponse() 287 proc_info.GetGroupID(), in CreateProcessInfoResponse() 288 proc_info.GetEffectiveUserID(), in CreateProcessInfoResponse() 289 proc_info.GetEffectiveGroupID()); in CreateProcessInfoResponse() 291 response.PutCStringAsRawHex8(proc_info.GetName()); in CreateProcessInfoResponse() 293 const ArchSpec &proc_arch = proc_info.GetArchitecture(); in CreateProcessInfoResponse() 311 ProcessInstanceInfo proc_info; in Handle_qProcessInfoPID() local [all …]
|
/external/chromium_org/sandbox/win/src/ |
D | process_thread_interception.cc | 302 InOutCountedBuffer proc_info(process_information, in TargetCreateProcessW() local 306 command_line, cur_dir, proc_info, &answer); in TargetCreateProcessW() 380 InOutCountedBuffer proc_info(process_information, in TargetCreateProcessA() local 384 cmd_line, cur_dir, proc_info, &answer); in TargetCreateProcessA()
|
D | sandbox_nt_util.cc | 269 PROCESS_BASIC_INFORMATION proc_info; in GetProcessId() local 273 &proc_info, sizeof(proc_info), in GetProcessId() 275 if (!NT_SUCCESS(ret) || sizeof(proc_info) != bytes_returned) in GetProcessId() 278 *process_id = proc_info.UniqueProcessId; in GetProcessId()
|
D | process_thread_dispatcher.cc | 233 PROCESS_INFORMATION* proc_info = in CreateProcessW() local 239 proc_info); in CreateProcessW()
|
/external/lldb/source/Commands/ |
D | CommandObjectPlatform.cpp | 535 ProcessInstanceInfo proc_info; in DoExecute() local 536 if (platform_sp->GetProcessInfo (pid, proc_info)) in DoExecute() 539 … proc_info.DumpAsTableRow(ostrm, platform_sp.get(), m_options.show_args, m_options.verbose); in DoExecute() 828 ProcessInstanceInfo proc_info; in DoExecute() local 829 if (platform_sp->GetProcessInfo (pid, proc_info)) in DoExecute() 832 proc_info.Dump (ostrm, platform_sp.get()); in DoExecute()
|
/external/chromium_org/tools/gn/ |
D | function_exec_script.cc | 110 base::win::ScopedProcessInformation proc_info(temp_process_info); in ExecProcess() local 133 WaitForSingleObject(proc_info.process_handle(), INFINITE); in ExecProcess() 136 GetExitCodeProcess(proc_info.process_handle(), &dw_exit_code); in ExecProcess()
|
/external/chromium_org/win8/delegate_execute/ |
D | command_execute_impl.cc | 416 base::win::ScopedProcessInformation proc_info(temp_process_info); in LaunchDesktopChrome() local 417 AtlTrace("Process id is %d\n", proc_info.process_id()); in LaunchDesktopChrome() 418 AllowSetForegroundWindow(proc_info.process_id()); in LaunchDesktopChrome()
|
/external/lldb/source/Plugins/Platform/Linux/ |
D | PlatformLinux.h | 80 GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &proc_info);
|
/external/chromium_org/base/process/ |
D | launch_win.cc | 343 base::win::ScopedProcessInformation proc_info(temp_process_info); in GetAppOutput() local 362 WaitForSingleObject(proc_info.process_handle(), INFINITE); in GetAppOutput()
|
/external/lldb/source/Plugins/Platform/gdb-server/ |
D | PlatformRemoteGDBServer.h | 82 lldb_private::ProcessInstanceInfo &proc_info);
|
/external/lldb/source/Plugins/Platform/MacOSX/ |
D | PlatformRemoteiOS.h | 102 lldb_private::ProcessInstanceInfo &proc_info);
|
D | PlatformDarwin.h | 89 lldb_private::ProcessInstanceInfo &proc_info);
|
/external/lldb/source/Plugins/Platform/FreeBSD/ |
D | PlatformFreeBSD.h | 117 lldb_private::ProcessInstanceInfo &proc_info);
|
/external/libunwind/src/aarch64/ |
D | Ginit.c | 70 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) in put_unwind_info() argument
|