Lines Matching refs:pcm_cpu

78 	float	pcm_cpu[2];	/* cpu time(min) */  member
362 pcmt.pcm_cpu[PRIME] = dtmp * ratio; in dofile()
363 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 : in dofile()
364 (dtmp - pcmt.pcm_cpu[PRIME]); in dofile()
410 pcmt.pcm_cpu[PRIME] = dtmp * ratio; in dofile()
411 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 : in dofile()
412 (dtmp - pcmt.pcm_cpu[PRIME]); in dofile()
551 p1->pcm_cpu[PRIME] += p2->pcm_cpu[PRIME]; in pcmadd()
552 p1->pcm_cpu[NONPRIME] += p2->pcm_cpu[NONPRIME]; in pcmadd()
592 pcm[k].pcm_cpu[PRIME] = pcm[i].pcm_cpu[PRIME]; in squeeze()
593 pcm[k].pcm_cpu[NONPRIME] = pcm[i].pcm_cpu[NONPRIME]; in squeeze()
621 if (p1->pcm_cpu[PRIME] + p1->pcm_cpu[NONPRIME] == p2->pcm_cpu[PRIME] + p2->pcm_cpu[NONPRIME]) in ccmp()
623 …return ((p2->pcm_cpu[PRIME] + p2->pcm_cpu[NONPRIME] > p1->pcm_cpu[PRIME] + p1->pcm_cpu[NONPRIME])?… in ccmp()
626 if (p1->pcm_cpu[index] == p2->pcm_cpu[index]) in ccmp()
628 return ((p2->pcm_cpu[index] > p1->pcm_cpu[index])? 1 : -1); in ccmp()
788 printf(fmtcpu, p->pcm_cpu[hr]); in prnt()
790 if(p->pcm_cpu[hr] == 0) p->pcm_cpu[hr] = 1; in prnt()
791 printf(fmtmsz, p->pcm_kcore[hr]/p->pcm_cpu[hr]); in prnt()
793 printf(fmtmcpu, p->pcm_cpu[hr]/p->pcm_pc[hr]); in prnt()
796 printf(fmthog, p->pcm_cpu[hr]/p->pcm_real[hr]); in prnt()
809 printf(fmtcpu, p->pcm_cpu[PRIME]); in pprint()
810 printf(fmtcpu, p->pcm_cpu[NONPRIME]); in pprint()
813 if(TOTAL(p->pcm_cpu) == 0) p->pcm_cpu[PRIME] = 1; in pprint()
814 printf(fmtmsz, TOTAL(p->pcm_kcore)/TOTAL(p->pcm_cpu)); in pprint()
816 printf(fmtmcpu, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_pc)); in pprint()
819 printf(fmthog, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_real)); in pprint()
831 printf(fmtcpu, TOTAL(p->pcm_cpu)); in totprnt()
833 if(TOTAL(p->pcm_cpu) == 0) p->pcm_cpu[PRIME] = 1; in totprnt()
834 printf(fmtmsz, TOTAL(p->pcm_kcore)/TOTAL(p->pcm_cpu)); in totprnt()
836 printf(fmtmcpu, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_pc)); in totprnt()
839 printf(fmthog, TOTAL(p->pcm_cpu)/TOTAL(p->pcm_real)); in totprnt()