Home
last modified time | relevance | path

Searched refs:rperc (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Dsfunc.c461 if ((args->flags & CLD_FLG_DUTY) && (args->rperc < 100)) { in normalize_percs()
465 args->rperc = 100; in normalize_percs()
472 args->rperc = 0; in normalize_percs()
475 if (args->rperc == 0 && args->wperc == 0) { in normalize_percs()
476 args->rperc = 50; in normalize_percs()
478 } else if (args->rperc == 0) { in normalize_percs()
479 args->rperc = 100 - args->wperc; in normalize_percs()
481 args->wperc = 100 - args->rperc; in normalize_percs()
485 if (args->rperc + args->wperc != 100) { in normalize_percs()
489 i = 100 - (args->rperc + args->wperc); in normalize_percs()
[all …]
Dstats.c77 hread_time = ((env->hbeat_stats.rtime * args->rperc) / 100); in print_stats()
79 read_time = ((env->cycle_stats.rtime * args->rperc) / 100); in print_stats()
82 (time_t) ((env->global_stats.rtime * args->rperc) / 100); in print_stats()
Dmain.h224 short rperc; /* percent of IO that should be reads */ member
Dparse.c313 args->rperc = atoi(optarg); in fill_cld_args()
907 if (args->rperc > 0) { in make_assumptions()
972 sprintf(TmpStr, "(-D %d:%d) ", args->rperc, args->wperc); in make_assumptions()