Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/
Dprocess_info_snapshot_mac_unittest.cc30 ProcessInfoSnapshot::ProcInfoEntry proc_info; in TEST_F() local
31 ASSERT_TRUE(snapshot.GetProcInfo(1, &proc_info)); in TEST_F()
32 EXPECT_EQ(1, static_cast<int64>(proc_info.pid)); in TEST_F()
33 EXPECT_EQ(0, static_cast<int64>(proc_info.ppid)); in TEST_F()
34 EXPECT_EQ(0, static_cast<int64>(proc_info.uid)); in TEST_F()
35 EXPECT_EQ(0, static_cast<int64>(proc_info.euid)); in TEST_F()
36 EXPECT_GE(proc_info.rss, 0u); in TEST_F()
37 EXPECT_GT(proc_info.vsize, 0u); in TEST_F()
47 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); in TEST_F()
50 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); in TEST_F()
[all …]
Dprocess_info_snapshot_mac.cc166 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; in GetProcessMemoryInfoUsingPS() local
167 proc_info.pid = pid; in GetProcessMemoryInfoUsingPS()
168 in >> proc_info.rss; in GetProcessMemoryInfoUsingPS()
169 in >> proc_info.vsize; in GetProcessMemoryInfoUsingPS()
170 proc_info.rss *= 1024; // Convert from kilobytes to bytes. in GetProcessMemoryInfoUsingPS()
171 proc_info.vsize *= 1024; in GetProcessMemoryInfoUsingPS()
173 std::getline(in, proc_info.command); // Get the rest of the line. in GetProcessMemoryInfoUsingPS()
179 if (!proc_info.pid || ! proc_info.vsize) { in GetProcessMemoryInfoUsingPS()
185 proc_info_entries[proc_info.pid] = proc_info; in GetProcessMemoryInfoUsingPS()
263 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; in GetProcessMemoryInfoUsingTop() local
[all …]
Dmemory_details_mac.cc145 ProcessInfoSnapshot::ProcInfoEntry proc_info; in CollectProcessData() local
146 if (process_info.GetProcInfo(info.pid, &proc_info)) { in CollectProcessData()
147 if (proc_info.command.length() > 1 && proc_info.command[0] == '/') { in CollectProcessData()
149 base::mac::GetAppBundlePath(FilePath(proc_info.command)); in CollectProcessData()
Dprocess_info_snapshot.h78 ProcInfoEntry* proc_info) const;
/external/chromium/base/
Dprocess_util_win.cc354 PROCESS_INFORMATION proc_info = { 0 }; in GetAppOutput() local
369 0, NULL, NULL, &start_info, &proc_info)) { in GetAppOutput()
375 CloseHandle(proc_info.hThread); in GetAppOutput()
394 WaitForSingleObject(proc_info.hProcess, INFINITE); in GetAppOutput()
395 CloseHandle(proc_info.hProcess); in GetAppOutput()
/external/valgrind/main/coregrind/m_syswrap/
Dpriv_syswrap-darwin.h397 DECL_TEMPLATE(darwin, proc_info); // 336
Dsyswrap-darwin.c3738 PRE(proc_info) in PRE() argument
3760 POST(proc_info) in POST() argument
8189 MACXY(__NR_proc_info, proc_info), // 336