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

/system/core/toolbox/
H A Dschedtop.c94 static void add_thread(int pid, int tid, struct thread_info *proc_info) argument
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) argument
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
[all...]
H A Dtop.c53 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 *pro
[all...]
/system/extras/procrank/
H A Dprocrank.c27 struct proc_info { struct
121 struct proc_info **procs;
168 procs = calloc(num_procs, sizeof(struct proc_info*));
175 procs[i] = malloc(sizeof(struct proc_info));
367 (*((struct proc_info**)a))->usage.field, \
368 (*((struct proc_info**)b))->usage.field \

Completed in 129 milliseconds