Home | History | Annotate | Download | only in toolbox

Lines Matching refs:tid

55     pid_t tid;
99 static struct proc_info *find_old_proc(pid_t pid, pid_t tid);
228 pid_t pid, tid;
256 proc->pid = proc->tid = pid;
289 tid = atoi(tid_dir->d_name);
293 proc->pid = pid; proc->tid = tid;
295 sprintf(filename, "/proc/%d/task/%d/stat", pid, tid);
298 read_policy(tid, proc);
420 old_proc = find_old_proc(new_procs[i]->pid, new_procs[i]->tid);
459 printf("%5s %5s %4s %1s %7s %7s %3s %-8s %-15s %s\n", "PID", "TID", "CPU%", "S", "VSS", "RSS", "PCY", "UID", "Thread", "Proc");
484 printf("%5d %5d %3ld%% %c %6ldK %6ldK %3s %-8.8s %-15s %s\n", proc->pid, proc->tid, proc->delta_time * 100 / total_delta_time, proc->state,
489 static struct proc_info *find_old_proc(pid_t pid, pid_t tid) {
493 if (old_procs[i] && (old_procs[i]->pid == pid) && (old_procs[i]->tid == tid))