Lines Matching refs:pcm_cpu

81 	float	pcm_cpu[2];	/* cpu time(min) */
365 pcmt.pcm_cpu[PRIME] = dtmp * ratio;
366 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 :
367 (dtmp - pcmt.pcm_cpu[PRIME]);
413 pcmt.pcm_cpu[PRIME] = dtmp * ratio;
414 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 :
415 (dtmp - pcmt.pcm_cpu[PRIME]);
554 p1->pcm_cpu[PRIME] += p2->pcm_cpu[PRIME];
555 p1->pcm_cpu[NONPRIME] += p2->pcm_cpu[NONPRIME];
595 pcm[k].pcm_cpu[PRIME] = pcm[i].pcm_cpu[PRIME];
596 pcm[k].pcm_cpu[NONPRIME] = pcm[i].pcm_cpu[NONPRIME];
624 if (p1->pcm_cpu[PRIME] + p1->pcm_cpu[NONPRIME] == p2->pcm_cpu[PRIME] + p2->pcm_cpu[NONPRIME])
626 return ((p2->pcm_cpu[PRIME] + p2->pcm_cpu[NONPRIME] > p1->pcm_cpu[PRIME] + p1->pcm_cpu[NONPRIME])? 1 : -1);
629 if (p1->pcm_cpu[index] == p2->pcm_cpu[index])
631 return ((p2->pcm_cpu[index] > p1->pcm_cpu[index])? 1 : -1);
791 printf(fmtcpu, p->pcm_cpu[hr]);
793 if(p->pcm_cpu[hr] == 0) p->pcm_cpu[hr] = 1;
794 printf(fmtmsz, p->pcm_kcore[hr]/p->pcm_cpu[hr]);
796 printf(fmtmcpu, p->pcm_cpu[hr]/p->pcm_pc[hr]);
799 printf(fmthog, p->pcm_cpu[hr]/p->pcm_real[hr]);
812 printf(fmtcpu, p->pcm_cpu[PRIME]);
813 printf(fmtcpu, p->pcm_cpu[NONPRIME]);
816 if(TOTAL(p->pcm_cpu) == 0) p->pcm_cpu[PRIME] = 1;
817 printf(fmtmsz, TOTAL(p->pcm_kcore)/TOTAL(p->pcm_cpu));
819 printf(fmtmcpu, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_pc));
822 printf(fmthog, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_real));
834 printf(fmtcpu, TOTAL(p->pcm_cpu));
836 if(TOTAL(p->pcm_cpu) == 0) p->pcm_cpu[PRIME] = 1;
837 printf(fmtmsz, TOTAL(p->pcm_kcore)/TOTAL(p->pcm_cpu));
839 printf(fmtmcpu, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_pc));
842 printf(fmthog, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_real));