Searched defs:proc_info (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
H A Dlinux_unittest.cc22 ProcCpuInfo proc_info; local
23 EXPECT_TRUE(proc_info.LoadFromSystem());
26 EXPECT_TRUE(proc_info.GetNumCpus(&out_cpus));
31 EXPECT_TRUE(proc_info.GetNumPhysicalCpus(&out_cpus_phys));
37 EXPECT_TRUE(proc_info.GetCpuFamily(&out_family));
43 EXPECT_TRUE(proc_info.GetSectionStringValue(0, "Processor", &out_processor));
51 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "model", &out_model));
55 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "stepping", &out_stepping));
59 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "processor", &out_processor));
64 EXPECT_TRUE(proc_info
[all...]
H A Dsysteminfo.cc172 ProcCpuInfo proc_info; local
173 if (proc_info.LoadFromSystem()) {
174 proc_info.GetNumCpus(&logical_cpus_);
175 proc_info.GetNumPhysicalCpus(&physical_cpus_);
176 proc_info.GetCpuFamily(&cpu_family_);
179 proc_info.GetSectionIntValue(0, "model", &cpu_model_);
180 proc_info.GetSectionIntValue(0, "stepping", &cpu_stepping_);
181 proc_info.GetSectionIntValue(0, "cpu MHz", &cpu_speed_);
182 proc_info.GetSectionIntValue(0, "cache size", &cache_size_);
/external/chromium_org/chrome/browser/
H A Dprocess_info_snapshot_mac_unittest.cc33 ProcessInfoSnapshot::ProcInfoEntry proc_info; local
34 ASSERT_TRUE(snapshot.GetProcInfo(1, &proc_info));
35 EXPECT_EQ(1, static_cast<int64>(proc_info.pid));
36 EXPECT_EQ(0, static_cast<int64>(proc_info.ppid));
37 EXPECT_EQ(0, static_cast<int64>(proc_info.uid));
38 EXPECT_EQ(0, static_cast<int64>(proc_info.euid));
39 EXPECT_GE(proc_info.rss, 0u);
40 EXPECT_GT(proc_info.vsize, 0u);
50 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info));
53 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info));
75 ProcessInfoSnapshot::ProcInfoEntry proc_info; local
139 ProcessInfoSnapshot::ProcInfoEntry proc_info; local
[all...]
H A Dmemory_details_mac.cc155 // executable's name (we can only believe |proc_info.command| if it looks
159 ProcessInfoSnapshot::ProcInfoEntry proc_info; local
160 if (process_info.GetProcInfo(info.pid, &proc_info)) {
161 if (proc_info.command.length() > 1 && proc_info.command[0] == '/') {
163 base::mac::GetAppBundlePath(base::FilePath(proc_info.command));
H A Dprocess_info_snapshot_mac.cc165 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; local
166 proc_info.pid = pid;
167 in >> proc_info.rss;
168 in >> proc_info.vsize;
169 proc_info.rss *= 1024; // Convert from kilobytes to bytes.
170 proc_info.vsize *= 1024;
178 if (!proc_info.pid || ! proc_info.vsize) {
184 proc_info_entries[proc_info.pid] = proc_info;
263 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; local
290 ProcInfoEntry proc_info; local
311 ProcInfoEntry proc_info = proc_info_entries_[*it]; local
371 ProcInfoEntry proc_info; local
395 ProcInfoEntry proc_info; local
[all...]
/external/chromium_org/chrome/test/base/
H A Dchrome_process_util_mac.cc50 MacChromeProcessInfo proc_info; local
53 proc_info.pid = pid;
54 base::StringToInt(values[1], &proc_info.rsz_in_kb);
55 base::StringToInt(values[2], &proc_info.vsz_in_kb);
56 if (proc_info.pid && proc_info.rsz_in_kb && proc_info.vsz_in_kb)
57 result.push_back(proc_info);
/external/libunwind/src/aarch64/
H A DGinit.c70 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/libunwind/src/hppa/
H A DGinit.c75 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/libunwind/src/mips/
H A DGinit.c80 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/libunwind/src/ppc32/
H A DGinit.c98 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/libunwind/src/ppc64/
H A DGinit.c102 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/libunwind/src/sh/
H A DGinit.c69 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/lldb/tools/debugserver/source/
H A DRNBServices.cpp50 struct kinfo_proc &proc_info = proc_infos[i]; local
57 kinfo_user_matches = proc_info.kp_eproc.e_pcred.p_ruid == our_uid;
60 const pid_t pid = proc_info.kp_proc.p_pid;
65 proc_info.kp_proc.p_stat == SZOMB || // Zombies are bad, they like brains...
66 proc_info.kp_proc.p_flag & P_TRACED || // Being debugged?
67 proc_info.kp_proc.p_flag & P_WEXIT || // Working on exiting?
68 proc_info.kp_proc.p_flag & P_TRANSLATED) // Skip translated ppc (Rosetta)
82 const char *pid_basename = proc_info.kp_proc.p_comm;
/external/libunwind/src/x86/
H A DGinit.c65 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/libunwind/src/x86_64/
H A DGinit.c58 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/chromium_org/sandbox/win/src/
H A Dprocess_thread_dispatcher.cc233 PROCESS_INFORMATION* proc_info = local
239 proc_info);
H A Dsandbox_nt_util.cc269 PROCESS_BASIC_INFORMATION proc_info; local
273 &proc_info, sizeof(proc_info),
275 if (!NT_SUCCESS(ret) || sizeof(proc_info) != bytes_returned)
278 *process_id = proc_info.UniqueProcessId;
/external/libunwind/src/arm/
H A DGex_tables.c547 arm_put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/libunwind/src/ia64/
H A DGinit.c57 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) argument
/external/lldb/source/Commands/
H A DCommandObjectPlatform.cpp535 ProcessInstanceInfo proc_info; local
536 if (platform_sp->GetProcessInfo (pid, proc_info))
539 proc_info.DumpAsTableRow(ostrm, platform_sp.get(), m_options.show_args, m_options.verbose);
828 ProcessInstanceInfo proc_info; local
829 if (platform_sp->GetProcessInfo (pid, proc_info))
832 proc_info.Dump (ostrm, platform_sp.get());

Completed in 5686 milliseconds