Searched refs:statline (Results 1 - 2 of 2) sorted by last modified time
/system/core/libcutils/ |
H A D | sched_policy.c | 253 char statline[1024]; local 262 int rc = read(fd, statline, 1023); 264 statline[rc] = 0; 265 char *p = statline; 268 for (p = statline; *p != '('; p++);
|
/system/core/toolbox/ |
H A D | ps.c | 40 char statline[1024]; local 53 sprintf(statline, "/proc/%d", pid); 54 stat(statline, &stats); 57 sprintf(statline, "/proc/%d/task/%d/stat", pid, tid); 61 sprintf(statline, "/proc/%d/stat", pid); 75 fd = open(statline, O_RDONLY); 77 r = read(fd, statline, 1023); 80 statline[r] = 0; 82 ptr = statline;
|
Completed in 183 milliseconds