Lines Matching refs:traces
154 def __init__(self, traces=None, errors=None): argument
155 self.traces = traces or []
159 return {"traces": self.traces, "errors": self.errors}
166 self.traces += other.traces
265 if not res.traces or not calc_total:
269 if len(set(map(lambda t: len(t["results"]), res.traces))) != 1:
276 n_results = len(res.traces[0]["results"])
277 total_results = [GeometricMean(t["results"][i] for t in res.traces)
279 res.traces.append({
281 "units": res.traces[0]["units"],
299 traces = OrderedDict()
330 trace_result = traces.setdefault(trace, Results([{
336 trace_result.traces[0]["results"].extend(results)
337 trace_result.traces[0]["stddev"] = stddev
339 return reduce(lambda r, t: r + t, traces.itervalues(), Results())