Lines Matching defs:ratio
303 double ratio;
354 ratio = (double)elaps[PRIME]/(double)etime;
365 pcmt.pcm_cpu[PRIME] = dtmp * ratio;
366 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 :
370 pcmt.pcm_real[PRIME] = dtmp * ratio;
371 pcmt.pcm_real[NONPRIME] = (ratio == 1.0) ? 0.0 :
375 pcmt.pcm_kcore[PRIME] = dtmp * ratio;
376 pcmt.pcm_kcore[NONPRIME] = (ratio == 1.0) ? 0.0 :
379 pcmt.pcm_io[PRIME] = (double)ltmp * ratio;
380 pcmt.pcm_io[NONPRIME] = (ratio == 1.0) ? 0.0 :
383 pcmt.pcm_rw[PRIME] = (double)ltmp * ratio;
384 pcmt.pcm_rw[NONPRIME] = (ratio == 1.0) ? 0.0 :
402 ratio = (double)elaps[PRIME]/(double)etime;
413 pcmt.pcm_cpu[PRIME] = dtmp * ratio;
414 pcmt.pcm_cpu[NONPRIME] = (ratio == 1.0) ? 0.0 :
418 pcmt.pcm_real[PRIME] = dtmp * ratio;
419 pcmt.pcm_real[NONPRIME] = (ratio == 1.0) ? 0.0 :
423 pcmt.pcm_kcore[PRIME] = dtmp * ratio;
424 pcmt.pcm_kcore[NONPRIME] = (ratio == 1.0) ? 0.0 :
427 pcmt.pcm_io[PRIME] = (double)ltmp * ratio;
428 pcmt.pcm_io[NONPRIME] = (ratio == 1.0) ? 0.0 :
431 pcmt.pcm_rw[PRIME] = (double)ltmp * ratio;
432 pcmt.pcm_rw[NONPRIME] = (ratio == 1.0) ? 0.0 :