Home
last modified time | relevance | path

Searched refs:wperc (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Dsfunc.c466 args->wperc = 0; in normalize_percs()
468 if ((args->flags & CLD_FLG_DUTY) && (args->wperc < 100)) { in normalize_percs()
473 args->wperc = 100; in normalize_percs()
475 if (args->rperc == 0 && args->wperc == 0) { in normalize_percs()
477 args->wperc = 50; in normalize_percs()
479 args->rperc = 100 - args->wperc; in normalize_percs()
480 } else if (args->wperc == 0) { 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.c78 hwrite_time = ((env->hbeat_stats.wtime * args->wperc) / 100); in print_stats()
80 write_time = ((env->cycle_stats.wtime * args->wperc) / 100); in print_stats()
84 (time_t) ((env->global_stats.wtime * args->wperc) / 100); in print_stats()
Dmain.h225 short wperc; /* percent of IO that should be write */ member
Dparse.c314 args->wperc = atoi((char *)(strchr(optarg, ':') + 1)); in fill_cld_args()
913 if (args->wperc > 0) { in make_assumptions()
972 sprintf(TmpStr, "(-D %d:%d) ", args->rperc, args->wperc); in make_assumptions()
Dchildmain.c245 (((env->rcount) + 1) + (env->wcount))) >= (args->wperc)) { in get_next_action()