2from plot_times
import times
8 print(
'Please supply an input file name stub to glob on the command line, and an output file name')
14if not outname.endswith(
'.pdf'): outname +=
'.pdf'
17print(
'glob found %d files: %s for stub %s' % (len(fns), str(fns), stub))
19 print(
'no files found for stub', stub)
24 return sum(t)/float(len(t))
32 x = [t
for t
in toks
if t.startswith(
'b')][0]
40pl.plot(n_bkgd, av_times,
'o')
41pl.suptitle(outname[:-4])
42pl.xlabel(
'n background')
43pl.ylabel(
'av exec time (ns)')
void print(char *figname, TCanvas *c1)