[LNT] r210133 - Fixups in geomean calculation
Chris Matthews
cmatthews5 at apple.com
Tue Jun 3 16:03:25 PDT 2014
Author: cmatthews
Date: Tue Jun 3 18:03:25 2014
New Revision: 210133
URL: http://llvm.org/viewvc/llvm-project?rev=210133&view=rev
Log:
Fixups in geomean calculation
Geomean calculation was having problems with compile test suite. Fix that, as well as some bugs in how it was calculated.
Modified:
lnt/trunk/lnt/util/stats.py
Modified: lnt/trunk/lnt/util/stats.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/util/stats.py?rev=210133&r1=210132&r2=210133&view=diff
==============================================================================
--- lnt/trunk/lnt/util/stats.py (original)
+++ lnt/trunk/lnt/util/stats.py Tue Jun 3 18:03:25 2014
@@ -10,12 +10,17 @@ def safe_min(l):
else:
return min(l)
+<<<<<<< HEAD
+=======
+
+>>>>>>> Fixups in geomean calculation
def mean(l):
if l:
return sum(l)/len(l)
else:
return None
+
def median(l):
if not l:
return None
More information about the llvm-commits
mailing list