Lines Matching defs:args
52 if not args.quiet:
56 if args.verbose and not args.quiet:
74 global args
84 f'pv -s {size} -pr /dev/urandom {"-q" if args.quiet else ""} | '
90 global args
92 eta = 'never' if args.quiet else 'always'
99 if args.verbose:
116 args = parser.parse_args()
126 if args.testdev:
127 devname = os.path.basename(args.testdev)
135 testfile_size = int(args.testfile_size_gb * 2 ** 30)
155 rbps = run_fio(testfile, args.duration, 'read',
156 1, args.seqio_block_mb * (2 ** 20), args.numjobs)
158 rseqiops = round(run_fio(testfile, args.duration, 'read',
159 args.seq_depth, 4096, args.numjobs) / 4096)
161 rrandiops = round(run_fio(testfile, args.duration, 'randread',
162 args.rand_depth, 4096, args.numjobs) / 4096)
164 wbps = run_fio(testfile, args.duration, 'write',
165 1, args.seqio_block_mb * (2 ** 20), args.numjobs)
167 wseqiops = round(run_fio(testfile, args.duration, 'write',
168 args.seq_depth, 4096, args.numjobs) / 4096)
170 wrandiops = round(run_fio(testfile, args.duration, 'randwrite',
171 args.rand_depth, 4096, args.numjobs) / 4096)