• Home
  • Raw
  • Download

Lines Matching refs:FLAGS

88 FLAGS = __argparse.parse_args()  variable
89 if FLAGS.adb:
91 _path.init(FLAGS.device_serial, FLAGS.adb_binary)
96 if FLAGS.verbosity >= 5:
125 ARGV = [FLAGS.skpbench, '--verbosity', str(FLAGS.verbosity)]
126 if FLAGS.duration:
127 ARGV.extend(['--duration', str(FLAGS.duration)])
128 if FLAGS.sample_ms:
129 ARGV.extend(['--sampleMs', str(FLAGS.sample_ms)])
130 if FLAGS.gpu:
132 if FLAGS.fps:
134 if FLAGS.pr:
135 ARGV.extend(['--pr'] + re.split(r'[ ,]', FLAGS.pr))
136 if FLAGS.cc:
138 if FLAGS.nocache:
140 if FLAGS.gpuThreads != -1:
141 ARGV.extend(['--gpuThreads', str(FLAGS.gpuThreads)])
144 if FLAGS.ddl:
146 if FLAGS.ddlNumAdditionalThreads:
148 str(FLAGS.ddlNumAdditionalThreads)])
149 if FLAGS.ddlTilingWidthHeight:
150 ARGV.extend(['--ddlTilingWidthHeight', str(FLAGS.ddlTilingWidthHeight)])
151 if FLAGS.ddlRecordTime:
154 if FLAGS.adb:
155 if FLAGS.device_serial is None:
156 ARGV[:0] = [FLAGS.adb_binary, 'shell']
158 ARGV[:0] = [FLAGS.adb_binary, '-s', FLAGS.device_serial, 'shell']
211 if FLAGS.write_path:
212 pngfile = _path.join(FLAGS.write_path, self.config,
254 elif FLAGS.verbosity >= 2:
278 benches = collections.deque([(src, config, FLAGS.max_stddev)
294 emit_result(skpbench.best_result.format(FLAGS.suffix),
302 if FLAGS.verbosity >= 1:
314 if FLAGS.verbosity >= 4:
316 if FLAGS.verbosity >= 1:
328 configs = re.split(DELIMITER, FLAGS.config)
329 srcs = _path.find_skps(FLAGS.srcs)
331 if FLAGS.adb:
332 adb = Adb(FLAGS.device_serial, FLAGS.adb_binary,
333 echo=(FLAGS.verbosity >= 5))
355 if FLAGS.resultsfile:
356 with open(FLAGS.resultsfile, mode='a+') as resultsfile: