• Home
  • Raw
  • Download

Lines Matching refs:FLAGS

86 FLAGS = __argparse.parse_args()  variable
87 if FLAGS.adb:
89 _path.init(FLAGS.device_serial, FLAGS.adb_binary)
94 if FLAGS.verbosity >= 5:
123 ARGV = [FLAGS.skpbench, '--verbosity', str(FLAGS.verbosity)]
124 if FLAGS.duration:
125 ARGV.extend(['--duration', str(FLAGS.duration)])
126 if FLAGS.sample_ms:
127 ARGV.extend(['--sampleMs', str(FLAGS.sample_ms)])
128 if FLAGS.gpu:
130 if FLAGS.fps:
132 if FLAGS.pr:
133 ARGV.extend(['--pr'] + re.split(r'[ ,]', FLAGS.pr))
134 if FLAGS.nocache:
136 if FLAGS.gpuThreads != -1:
137 ARGV.extend(['--gpuThreads', str(FLAGS.gpuThreads)])
140 if FLAGS.ddl:
142 if FLAGS.ddlNumAdditionalThreads:
144 str(FLAGS.ddlNumAdditionalThreads)])
145 if FLAGS.ddlTilingWidthHeight:
146 ARGV.extend(['--ddlTilingWidthHeight', str(FLAGS.ddlTilingWidthHeight)])
147 if FLAGS.ddlRecordTime:
150 if FLAGS.adb:
151 if FLAGS.device_serial is None:
152 ARGV[:0] = [FLAGS.adb_binary, 'shell']
154 ARGV[:0] = [FLAGS.adb_binary, '-s', FLAGS.device_serial, 'shell']
207 if FLAGS.write_path:
208 pngfile = _path.join(FLAGS.write_path, self.config,
250 elif FLAGS.verbosity >= 2:
274 benches = collections.deque([(src, config, FLAGS.max_stddev)
290 emit_result(skpbench.best_result.format(FLAGS.suffix),
298 if FLAGS.verbosity >= 1:
310 if FLAGS.verbosity >= 4:
312 if FLAGS.verbosity >= 1:
324 configs = re.split(DELIMITER, FLAGS.config)
325 srcs = _path.find_skps(FLAGS.srcs)
327 if FLAGS.adb:
328 adb = Adb(FLAGS.device_serial, FLAGS.adb_binary,
329 echo=(FLAGS.verbosity >= 5))
351 if FLAGS.resultsfile:
352 with open(FLAGS.resultsfile, mode='a+') as resultsfile: