Lines Matching refs:pcm_pc
80 long pcm_pc[2]; /* number of processes */
356 pcmt.pcm_pc[PRIME] = 1;
357 pcmt.pcm_pc[NONPRIME] = 0;
359 pcmt.pcm_pc[PRIME] = 0;
360 pcmt.pcm_pc[NONPRIME] = 1;
404 pcmt.pcm_pc[PRIME] = 1;
405 pcmt.pcm_pc[NONPRIME] = 0;
407 pcmt.pcm_pc[PRIME] = 0;
408 pcmt.pcm_pc[NONPRIME] = 1;
532 if (i != j && pcm[i].pcm_comm[0] && (pcm[i].pcm_pc[PRIME] + pcm[i].pcm_pc[NONPRIME]) <= 1) {
552 p1->pcm_pc[PRIME] += p2->pcm_pc[PRIME];
553 p1->pcm_pc[NONPRIME] += p2->pcm_pc[NONPRIME];
593 pcm[k].pcm_pc[PRIME] = pcm[i].pcm_pc[PRIME];
594 pcm[k].pcm_pc[NONPRIME] = pcm[i].pcm_pc[NONPRIME];
672 if (p1->pcm_pc[PRIME] + p1->pcm_pc[NONPRIME] == p2->pcm_pc[PRIME] + p2->pcm_pc[NONPRIME])
674 return ((p2->pcm_pc[PRIME] + p2->pcm_pc[NONPRIME] > p1->pcm_pc[PRIME] + p1->pcm_pc[NONPRIME])? 1 : -1);
677 if (p1->pcm_pc[index] == p2->pcm_pc[index])
679 return ((p2->pcm_pc[index] > p1->pcm_pc[index])? 1 : -1);
787 if(p->pcm_pc[hr] == 0) return;
789 printf(fmtcnt, p->pcm_pc[hr]);
795 if(p->pcm_pc[hr] == 0) p->pcm_pc[hr] = 1;
796 printf(fmtmcpu, p->pcm_cpu[hr]/p->pcm_pc[hr]);
809 printf(fmtcnt, p->pcm_pc[PRIME]);
810 printf(fmtcnt, p->pcm_pc[NONPRIME]);
818 if(TOTAL(p->pcm_pc) == 0) p->pcm_pc[PRIME] = 1;
819 printf(fmtmcpu, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_pc));
832 printf(fmtcnt, TOTAL(p->pcm_pc));
838 if(TOTAL(p->pcm_pc) == 0) p->pcm_pc[PRIME] = 1;
839 printf(fmtmcpu, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_pc));