Lines Matching refs:test0
608 def getRelativeVal(test, test0, metric): argument
609 if not test or not test0:
611 val0 = test0.get(metric, "s")
619 def getCycleReduction(test, test0, metric): argument
620 if not test or not test0:
622 val0 = test0.get(metric, "s")
630 def getScore(test, test0, metric): argument
631 if not test or not test0:
634 m1 = float(test0.get("gmean", None))
638 s1 = float(test0.get("gstddev", None))
648 "name": ("Name of Test", lambda test,test0,units: str(test)),
650 … "samples": ("Number of\ncollected samples", lambda test,test0,units: test.get("samples", units)),
651 "outliers": ("Number of\noutliers", lambda test,test0,units: test.get("outliers", units)),
653 "gmean": ("Geometric mean", lambda test,test0,units: test.get("gmean", units)),
654 "mean": ("Mean", lambda test,test0,units: test.get("mean", units)),
655 "min": ("Min", lambda test,test0,units: test.get("min", units)),
656 "median": ("Median", lambda test,test0,units: test.get("median", units)),
657 "stddev": ("Standard deviation", lambda test,test0,units: test.get("stddev", units)),
658 "gstddev": ("Standard deviation of Ln(time)", lambda test,test0,units: test.get("gstddev")),
660 …"gmean%": ("Geometric mean (relative)", lambda test,test0,units: getRelativeVal(test, test0, "gmea…
661 "mean%": ("Mean (relative)", lambda test,test0,units: getRelativeVal(test, test0, "mean")),
662 "min%": ("Min (relative)", lambda test,test0,units: getRelativeVal(test, test0, "min")),
663 … "median%": ("Median (relative)", lambda test,test0,units: getRelativeVal(test, test0, "median")),
664 …"stddev%": ("Standard deviation (relative)", lambda test,test0,units: getRelativeVal(test, test0, …
665 …"Standard deviation of Ln(time) (relative)", lambda test,test0,units: getRelativeVal(test, test0, …
667 …an$": ("Geometric mean (cycle reduction)", lambda test,test0,units: getCycleReduction(test, test0,…
668 …"mean$": ("Mean (cycle reduction)", lambda test,test0,units: getCycleReduction(test, test0, "mean"…
669 … "min$": ("Min (cycle reduction)", lambda test,test0,units: getCycleReduction(test, test0, "min")),
670 …"median$": ("Median (cycle reduction)", lambda test,test0,units: getCycleReduction(test, test0, "m…
671 …: ("Standard deviation (cycle reduction)", lambda test,test0,units: getCycleReduction(test, test0,…
672 … deviation of Ln(time) (cycle reduction)", lambda test,test0,units: getCycleReduction(test, test0,…
674 "score": ("SCORE", lambda test,test0,units: getScore(test, test0, "gstddev")),