/external/webrtc/webrtc/base/ |
linux_unittest.cc | 22 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.GetSectionStringValue(0, "vendor_id", &out_str)) [all...] |
linux.h | 62 // ProcCpuInfo proc_info; 64 // if (proc_info.LoadFromSystem()) { 66 // proc_info.GetNumCpus(&no_of_cpu); 67 // proc_info.GetCpuStringValue(0, "vendor_id", &out_str);
|
/system/core/toolbox/ |
top.c | 54 struct proc_info { struct 55 struct proc_info *next; 77 struct proc_info **array; 85 static struct proc_info **old_procs, **new_procs; 87 static struct proc_info *free_procs; 94 static struct proc_info *alloc_proc(void); 95 static void free_proc(struct proc_info *proc); 97 static int read_stat(char *filename, struct proc_info *proc); 98 static void read_policy(int pid, struct proc_info *proc); 99 static void add_proc(int proc_num, struct proc_info *proc) [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
mac_platform_backend.py | 81 proc_info = ProcTaskInfo() 84 self.libproc.proc_pidinfo(pid, proc_info.PROC_PIDTASKINFO, 0, 85 ctypes.byref(proc_info), proc_info.size) 88 cpu_time = (proc_info.pti_total_user / 1000000000.0 + 89 proc_info.pti_total_system / 1000000000.0) 91 'ContextSwitches': proc_info.pti_csw}
|
win_platform_backend.py | 317 proc_info = shell.ShellExecuteEx( 323 if proc_info['hInstApp'] <= 32: 325 return proc_info['hProcess']
|
/toolchain/binutils/binutils-2.25/bfd/ |
hpux-core.c | 71 conditionally know whether a proc_info has thread id fields. 73 happily also when meaningful thread id's show up in proc_info. */ 200 struct proc_info proc_info; local 206 if (bfd_bread (&proc_info, (bfd_size_type) core_header.len, abfd) 216 core_kernel_thread_id (abfd) = proc_info.lwpid; 217 core_user_thread_id (abfd) = proc_info.user_tid; 240 (bfd_vma) offsetof (struct proc_info, 249 if (proc_info.sig != -1) 254 (bfd_vma)offsetof (struct proc_info, [all...] |
/external/toybox/toys/pending/ |
lsof.c | 34 struct proc_info { struct 44 struct proc_info pi; 287 struct file_info *new_file_info(struct proc_info *pi, const char* fd) 303 static void visit_symlink(struct proc_info *pi, char* name, char* path) 327 static void visit_maps(struct proc_info *pi) 361 static void visit_fds(struct proc_info *pi) 384 struct proc_info pi;
|
/system/extras/procrank/ |
procrank.c | 29 struct proc_info { struct 180 struct proc_info **procs; 245 procs = calloc(num_procs, sizeof(struct proc_info*)); 252 procs[i] = malloc(sizeof(struct proc_info)); 541 (*((struct proc_info**)a))->usage.field, \ 542 (*((struct proc_info**)b))->usage.field \
|
/external/libunwind/src/ia64/ |
NOTES | 64 This info is stored in a separate proc_info structure and needs
|
/system/core/libbacktrace/ |
BacktraceOffline.h | 85 bool FindProcInfo(unw_addr_space_t addr_space, uint64_t ip, unw_proc_info_t* proc_info,
|
BacktraceOffline.cpp | 68 static int FindProcInfo(unw_addr_space_t addr_space, unw_word_t ip, unw_proc_info* proc_info, 71 bool result = backtrace->FindProcInfo(addr_space, ip, proc_info, need_unwind_info); 228 unw_proc_info_t* proc_info, int need_unwind_info) { 266 int ret = dwarf_search_unwind_table(addr_space, ip, &di, proc_info, need_unwind_info, this); 276 int ret = dwarf_search_unwind_table(addr_space, ip, &di, proc_info, need_unwind_info, this);
|
/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
|
/system/extras/memtrack/ |
memtrack.cpp | 336 ProcessInfo proc_info; local 353 proc_info.scan(); 362 proc_info.dumpToLog();
|
/external/libunwind/tests/ |
test-proc-info.c | 28 /* This test program checks whether proc_info lookup failures are
|
/external/libunwind/include/tdep-ia64/ |
libunwind_i.h | 161 unsigned int pi_valid :1; /* is proc_info valid? */ 162 unsigned int pi_is_dynamic :1; /* proc_info found via dynamic proc info? */
|
/external/libunwind/src/aarch64/ |
Ginit.c | 70 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
|
/external/libunwind/src/hppa/ |
Ginit.c | 75 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
|
/external/libunwind/src/mips/ |
Ginit.c | 80 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
|
/external/libunwind/src/ppc32/ |
Ginit.c | 98 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
|
/external/libunwind/src/ppc64/ |
Ginit.c | 102 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
|
/external/libunwind/src/sh/ |
Ginit.c | 69 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
|
/external/libunwind/include/ |
dwarf.h | 316 unsigned int pi_valid :1; /* is proc_info valid? */ 317 unsigned int pi_is_dynamic :1; /* proc_info found via dynamic proc info? */
|
libunwind-common.h.in | 147 On success, the routine fills in the PROC_INFO structure. */
|
/external/libunwind/src/dwarf/ |
Gfind_unwind_table.c | 78 // Fill in a dummy proc_info structure. We just need to fill in 363 /* Fill in a dummy proc_info structure. We just need to fill in
|
/external/libunwind/src/x86/ |
Ginit.c | 65 put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
|