Commit 9b9310dc authored by o9000's avatar o9000

Regression tests

parent 1f94752e
......@@ -91,7 +91,8 @@ def compute_min_med_fps(out):
for line in out.split("\n"):
if "fps = " in line:
fps = float(line.split("fps = ", 1)[-1].split(" ")[0])
samples.append(fps)
if fps > 0:
samples.append(fps)
samples.sort()
return min(samples), samples[len(samples)/2]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment