Lines Matching refs:args
93 if not args.values:
99 outpath_final = os.path.join(args.outdir, "%s_%s_%s%s" % \
100 (routine, args.plot, bench_variant, outpath))
123 if args.baseline:
124 baseline = args.baseline.replace("__", "")
134 plt.axhspan(-args.threshold, args.threshold, color="lightgray", alpha=0.3)
139 outpath_final = os.path.join(args.outdir, "%s_%s_%s%s" % \
140 (baseline, args.plot, bench_variant, outpath))
171 outpath_final = os.path.join(args.outdir, "%s_%s_%s%s" % \
172 (routine, args.plot, bench_variant, outpath))
197 if not args.values:
200 plt.ylabel("%s / timing" % args.key)
203 outpath_final = os.path.join(args.outdir, "%s_%s_%s%s" % \
204 (routine, args.plot, bench_variant, outpath))
219 plt.xlabel(args.key)
223 plt.grid(color="k", linestyle=args.grid, linewidth=0.5, alpha=0.5)
230 plt.savefig("%s_%s.%s" % (outpath, x_scale, args.extension),
231 format=args.extension, dpi=args.resolution)
233 if args.display:
273 domain.append(result[args.key])
274 timings[result[args.key]].append(result["timings"])
287 if isinstance(args.ifuncs, str):
290 plotted_ifuncs = [x.replace("__", "") for x in args.ifuncs]
296 if args.plot == "time":
299 elif args.plot == "rel":
302 elif args.plot == "max":
305 elif args.plot == "thru":
313 def main(args): argument
321 if not args.display:
329 with open(args.schema, "r") as f:
332 for filename in args.bench:
349 bench_variant, "", "", args.logarithmic)
399 args = parser.parse_args() variable
400 main(args)