Lines Matching refs:var
30 def do_compare(func, var, tl1, tl2, par, threshold): argument
50 sys.stderr.write('%s(%s)[%s]: stat does not exist\n' % (func, var, par))
61 (ind, func, var, par, d, v1, v2))
76 for var in pts1['functions'][func].keys():
77 tl1 = pts1['functions'][func][var]
78 tl2 = pts2['functions'][func][var]
83 do_compare(func, var, tl1, tl2, stat, threshold)
87 if 'timings' not in pts1['functions'][func][var].keys() or \
88 'timings' not in pts2['functions'][func][var].keys():
99 (func, var))
120 (ind, func, var, d, t1, t2))
133 for var in bench1['functions'][func].keys():
136 if u'timings' not in bench1['functions'][func][var].keys():
137 sys.stderr.write('Skipping graph for %s(%s)\n' % (func, var))
144 length = len(bench1['functions'][func][var]['timings'])
146 lines = pylab.scatter(X, bench1['functions'][func][var]['timings'],
151 length = len(bench2['functions'][func][var]['timings'])
153 lines = pylab.scatter(X, bench2['functions'][func][var]['timings'],
157 if var:
158 filename = "%s-%s.png" % (func, var)