Lines Matching refs:pstate
74 ProcessState *pstate = &processes[0];
75 for (int ii = 0; ii < num_procs; ++ii, ++pstate) {
76 sum_time += pstate->cpu_time;
77 double per = 100.0 * pstate->cpu_time / total_time;
80 if ((pstate->flags & ProcessState::kCalledExec) == 0)
82 if (pstate->name == NULL)
83 pstate->name = "";
85 pstate->pid, pstate->parent_pid, pstate->cpu_time,
86 per, sum_per, print_flags, pstate->name);
87 for (int jj = 1; jj < pstate->argc; ++jj) {
88 printf(" %s", pstate->argv[jj]);