summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-08-31 13:08:34 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-08-31 19:58:14 +0300
commit9b84e67054a010f54c75dd528d551e9d8bd2d516 (patch)
tree118889dd4a09b103f64fa74c782cc670d6fc066d
parent172ce16d3f0c41c32b3410924a05680aee0ca5e6 (diff)
stats/gen_report: fix the trend report when using frametimes
-rwxr-xr-xstats/gen_report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/stats/gen_report.py b/stats/gen_report.py
index 1573ffd..83a429c 100755
--- a/stats/gen_report.py
+++ b/stats/gen_report.py
@@ -53,13 +53,13 @@ plt.xlabel('Commits')
plt.ylabel('Perf. diff. with the first commit (%)')
plt.grid(True)
-data = getResultsGeomDiffs(report.commits)
+data = getResultsGeomDiffs(report.commits, args.frametime)
x_val = [x[0] for x in data]
y_val = [x[1] for x in data]
plt.plot(x_val, y_val, label="Geometric mean")
for i in range(len(report.benchmarks)):
- data = getResultsBenchmarkDiffs(report.commits, report.benchmarks[i])
+ data = getResultsBenchmarkDiffs(report.commits, report.benchmarks[i], args.frametime)
x_val = [x[0] for x in data]
y_val = [x[1] for x in data]