/external/chromium/chrome/browser/ |
process_info_snapshot_mac_unittest.cc | 30 ProcessInfoSnapshot::ProcInfoEntry proc_info; local 31 ASSERT_TRUE(snapshot.GetProcInfo(1, &proc_info)); 32 EXPECT_EQ(1, static_cast<int64>(proc_info.pid)); 33 EXPECT_EQ(0, static_cast<int64>(proc_info.ppid)); 34 EXPECT_EQ(0, static_cast<int64>(proc_info.uid)); 35 EXPECT_EQ(0, static_cast<int64>(proc_info.euid)); 36 EXPECT_GE(proc_info.rss, 0u); 37 EXPECT_GT(proc_info.vsize, 0u); 47 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 50 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 72 ProcessInfoSnapshot::ProcInfoEntry proc_info; local 127 ProcessInfoSnapshot::ProcInfoEntry proc_info; local [all...] |
memory_details_mac.cc | 141 // executable's name (we can only believe |proc_info.command| if it looks 145 ProcessInfoSnapshot::ProcInfoEntry proc_info; local 146 if (process_info.GetProcInfo(info.pid, &proc_info)) { 147 if (proc_info.command.length() > 1 && proc_info.command[0] == '/') { 149 base::mac::GetAppBundlePath(FilePath(proc_info.command));
|
process_info_snapshot_mac.cc | 166 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; local 167 proc_info.pid = pid; 168 in >> proc_info.rss; 169 in >> proc_info.vsize; 170 proc_info.rss *= 1024; // Convert from kilobytes to bytes. 171 proc_info.vsize *= 1024; 173 std::getline(in, proc_info.command); // Get the rest of the line. 179 if (!proc_info.pid || ! proc_info.vsize) { 185 proc_info_entries[proc_info.pid] = proc_info 263 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; local 332 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; local 360 ProcInfoEntry proc_info; local 381 ProcInfoEntry proc_info = proc_info_entries_[*it]; local 429 ProcInfoEntry proc_info; local 453 ProcInfoEntry proc_info; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
linux_unittest.cc | 39 ProcCpuInfo proc_info; local 40 EXPECT_TRUE(proc_info.LoadFromSystem()); 43 EXPECT_TRUE(proc_info.GetNumCpus(&out_cpus)); 48 EXPECT_TRUE(proc_info.GetNumPhysicalCpus(&out_cpus_phys)); 54 EXPECT_TRUE(proc_info.GetCpuFamily(&out_family)); 60 EXPECT_TRUE(proc_info.GetSectionStringValue(0, "Processor", &out_processor)); 68 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "model", &out_model)); 72 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "stepping", &out_stepping)); 76 EXPECT_TRUE(proc_info.GetSectionIntValue(0, "processor", &out_processor)); 81 EXPECT_TRUE(proc_info.GetSectionStringValue(0, "vendor_id", &out_str)) [all...] |
systeminfo.cc | 189 ProcCpuInfo proc_info; local 190 if (proc_info.LoadFromSystem()) { 191 proc_info.GetNumCpus(&logical_cpus_); 192 proc_info.GetNumPhysicalCpus(&physical_cpus_); 193 proc_info.GetCpuFamily(&cpu_family_); 196 proc_info.GetSectionIntValue(0, "model", &cpu_model_); 197 proc_info.GetSectionIntValue(0, "stepping", &cpu_stepping_); 198 proc_info.GetSectionIntValue(0, "cpu MHz", &cpu_speed_); 199 proc_info.GetSectionIntValue(0, "cache size", &cache_size_);
|
/external/chromium_org/chrome/browser/ |
process_info_snapshot_mac_unittest.cc | 32 ProcessInfoSnapshot::ProcInfoEntry proc_info; local 33 ASSERT_TRUE(snapshot.GetProcInfo(1, &proc_info)); 34 EXPECT_EQ(1, static_cast<int64>(proc_info.pid)); 35 EXPECT_EQ(0, static_cast<int64>(proc_info.ppid)); 36 EXPECT_EQ(0, static_cast<int64>(proc_info.uid)); 37 EXPECT_EQ(0, static_cast<int64>(proc_info.euid)); 38 EXPECT_GE(proc_info.rss, 0u); 39 EXPECT_GT(proc_info.vsize, 0u); 49 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 52 EXPECT_FALSE(snapshot.GetProcInfo(2, &proc_info)); 74 ProcessInfoSnapshot::ProcInfoEntry proc_info; local 131 ProcessInfoSnapshot::ProcInfoEntry proc_info; local [all...] |
memory_details_mac.cc | 153 // executable's name (we can only believe |proc_info.command| if it looks 157 ProcessInfoSnapshot::ProcInfoEntry proc_info; local 158 if (process_info.GetProcInfo(info.pid, &proc_info)) { 159 if (proc_info.command.length() > 1 && proc_info.command[0] == '/') { 161 base::mac::GetAppBundlePath(base::FilePath(proc_info.command));
|
process_info_snapshot_mac.cc | 164 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; local 165 proc_info.pid = pid; 166 in >> proc_info.rss; 167 in >> proc_info.vsize; 168 proc_info.rss *= 1024; // Convert from kilobytes to bytes. 169 proc_info.vsize *= 1024; 171 std::getline(in, proc_info.command); // Get the rest of the line. 177 if (!proc_info.pid || ! proc_info.vsize) { 183 proc_info_entries[proc_info.pid] = proc_info 259 ProcessInfoSnapshot::ProcInfoEntry proc_info = proc_info_entries[pid]; local 286 ProcInfoEntry proc_info; local 307 ProcInfoEntry proc_info = proc_info_entries_[*it]; local 360 ProcInfoEntry proc_info; local 384 ProcInfoEntry proc_info; local [all...] |
/external/chromium_org/chrome/test/base/ |
chrome_process_util_mac.cc | 50 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/chromium_org/sandbox/win/src/ |
process_thread_dispatcher.cc | 233 PROCESS_INFORMATION* proc_info = local 239 proc_info);
|
sandbox_nt_util.cc | 269 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;
|
/system/extras/memtrack/ |
memtrack.cpp | 336 ProcessInfo proc_info; local 353 proc_info.scan(); 362 proc_info.dumpToLog();
|
/system/core/toolbox/ |
schedtop.c | 94 static void add_thread(int pid, int tid, struct thread_info *proc_info) 115 if (proc_info) { 116 proc_info->exec_time += info->exec_time; 117 proc_info->delay_time += info->delay_time; 118 proc_info->run_count += info->run_count; 155 static void add_threads(int pid, struct thread_info *proc_info) 166 add_thread(pid, tid, proc_info); 204 struct thread_info *proc_info; local 206 proc_info = &processes.data[processes.active - 1]; 207 proc_info->exec_time = 0 [all...] |
top.c | 53 struct proc_info { struct 54 struct proc_info *next; 75 struct proc_info **array; 83 static struct proc_info **old_procs, **new_procs; 85 static struct proc_info *free_procs; 92 static struct proc_info *alloc_proc(void); 93 static void free_proc(struct proc_info *proc); 95 static int read_stat(char *filename, struct proc_info *proc); 96 static void read_policy(int pid, struct proc_info *proc); 97 static void add_proc(int proc_num, struct proc_info *proc) [all...] |
/system/extras/procrank/ |
procrank.c | 28 struct proc_info { struct 123 struct proc_info **procs; 178 procs = calloc(num_procs, sizeof(struct proc_info*)); 185 procs[i] = malloc(sizeof(struct proc_info)); 422 (*((struct proc_info**)a))->usage.field, \ 423 (*((struct proc_info**)b))->usage.field \
|
/ndk/sources/host-tools/make-3.81/ |
getloadavg.c | 686 struct stat_descr proc_info; 725 proc_info.sd_next = 0; 726 proc_info.sd_subsys = SUBSYS_PROC; 727 proc_info.sd_type = PROCTYPE_SUMMARY; 728 proc_info.sd_addr = (char *) &proc_sum_data; 729 proc_info.sd_size = sizeof (struct proc_summary); 730 proc_info.sd_sizeused = 0; 732 if (inq_stats (1, &proc_info) != 0) 684 struct stat_descr proc_info; local
|
/external/chromium/base/ |
process_util_win.cc | 354 PROCESS_INFORMATION proc_info = { 0 }; local 369 0, NULL, NULL, &start_info, &proc_info)) { 375 CloseHandle(proc_info.hThread); 394 WaitForSingleObject(proc_info.hProcess, INFINITE); 395 CloseHandle(proc_info.hProcess);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
cs46xx_dsp_spos.h | 119 struct snd_info_entry *proc_info; member in struct:dsp_scb_descriptor
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
cs46xx_dsp_spos.h | 119 struct snd_info_entry *proc_info; member in struct:dsp_scb_descriptor
|