Home
last modified time | relevance | path

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

/system/core/toolbox/
Dtop.c54 struct proc_info { struct
55 struct proc_info *next; argument
76 struct proc_info **array; argument
84 static struct proc_info **old_procs, **new_procs;
86 static struct proc_info *free_procs;
93 static struct proc_info *alloc_proc(void);
94 static void free_proc(struct proc_info *proc);
96 static int read_stat(char *filename, struct proc_info *proc);
97 static void read_policy(int pid, struct proc_info *proc);
98 static void add_proc(int proc_num, struct proc_info *proc);
[all …]
/system/extras/procrank/
Dprocrank.c29 struct proc_info { struct
125 struct proc_info **procs; in main()
180 procs = calloc(num_procs, sizeof(struct proc_info*)); in main()
187 procs[i] = malloc(sizeof(struct proc_info)); in main()
424 (*((struct proc_info**)a))->usage.field, \
425 (*((struct proc_info**)b))->usage.field \
/system/extras/memtrack/
Dmemtrack.cpp336 ProcessInfo proc_info; in main() local
353 proc_info.scan(); in main()
362 proc_info.dumpToLog(); in main()