Lines Matching refs:pcmt

302 	struct pcms 	pcmt;
318 while (fread(&pcmt, sizeof(pcmt), 1, stdin) == 1)
319 enter(&pcmt);
341 CPYN(pcmt.pcm_comm, acct.oab.ac_comm);
356 pcmt.pcm_pc[PRIME] = 1;
357 pcmt.pcm_pc[NONPRIME] = 0;
359 pcmt.pcm_pc[PRIME] = 0;
360 pcmt.pcm_pc[NONPRIME] = 1;
365 pcmt.pcm_cpu[PRIME] = dtmp * ratio;
366 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 :
367 (dtmp - pcmt.pcm_cpu[PRIME]);
370 pcmt.pcm_real[PRIME] = dtmp * ratio;
371 pcmt.pcm_real[NONPRIME] = (ratio == 1.0) ? 0.0 :
372 (dtmp - pcmt.pcm_real[PRIME]);
375 pcmt.pcm_kcore[PRIME] = dtmp * ratio;
376 pcmt.pcm_kcore[NONPRIME] = (ratio == 1.0) ? 0.0 :
377 (dtmp - pcmt.pcm_kcore[PRIME]);
379 pcmt.pcm_io[PRIME] = (double)ltmp * ratio;
380 pcmt.pcm_io[NONPRIME] = (ratio == 1.0) ? 0.0 :
381 ((double)ltmp - pcmt.pcm_io[PRIME]);
383 pcmt.pcm_rw[PRIME] = (double)ltmp * ratio;
384 pcmt.pcm_rw[NONPRIME] = (ratio == 1.0) ? 0.0 :
385 ((double)ltmp - pcmt.pcm_rw[PRIME]);
386 enter(&pcmt);
392 CPYN(pcmt.pcm_comm, acct.ab.ac_comm);
404 pcmt.pcm_pc[PRIME] = 1;
405 pcmt.pcm_pc[NONPRIME] = 0;
407 pcmt.pcm_pc[PRIME] = 0;
408 pcmt.pcm_pc[NONPRIME] = 1;
413 pcmt.pcm_cpu[PRIME] = dtmp * ratio;
414 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 :
415 (dtmp - pcmt.pcm_cpu[PRIME]);
418 pcmt.pcm_real[PRIME] = dtmp * ratio;
419 pcmt.pcm_real[NONPRIME] = (ratio == 1.0) ? 0.0 :
420 (dtmp - pcmt.pcm_real[PRIME]);
423 pcmt.pcm_kcore[PRIME] = dtmp * ratio;
424 pcmt.pcm_kcore[NONPRIME] = (ratio == 1.0) ? 0.0 :
425 (dtmp - pcmt.pcm_kcore[PRIME]);
427 pcmt.pcm_io[PRIME] = (double)ltmp * ratio;
428 pcmt.pcm_io[NONPRIME] = (ratio == 1.0) ? 0.0 :
429 ((double)ltmp - pcmt.pcm_io[PRIME]);
431 pcmt.pcm_rw[PRIME] = (double)ltmp * ratio;
432 pcmt.pcm_rw[NONPRIME] = (ratio == 1.0) ? 0.0 :
433 ((double)ltmp - pcmt.pcm_rw[PRIME]);
434 enter(&pcmt);