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