diff options
| author | jasplin <qt-info@nokia.com> | 2011-01-03 10:52:58 +0100 |
|---|---|---|
| committer | jasplin <qt-info@nokia.com> | 2011-01-03 10:52:58 +0100 |
| commit | 4c9489de13703419826f1a52601d4726b93f055e (patch) | |
| tree | 2aaa0d3a1530c7bd430c71f3fc1baa49322618a6 /scripts/gettimeseriesstats.py | |
| parent | ddfb3469be8fabe78ba814291a121fa559606540 (diff) | |
Renamed tolerance -> difftol.
Diffstat (limited to 'scripts/gettimeseriesstats.py')
| -rw-r--r-- | scripts/gettimeseriesstats.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/gettimeseriesstats.py b/scripts/gettimeseriesstats.py index 08e2d15..109c0a1 100644 --- a/scripts/gettimeseriesstats.py +++ b/scripts/gettimeseriesstats.py @@ -7,14 +7,14 @@ from misc import ( class GetTimeSeriesStats: def __init__( - self, host, platform, branch, sha11, sha12, tolerance, + self, host, platform, branch, sha11, sha12, difftol, test_case_filter): self.host = host self.platform = platform self.branch = branch self.sha11 = sha11 self.sha12 = sha12 - self.tolerance = tolerance + self.difftol = difftol self.test_case_filter = test_case_filter self.host_id = textToId("host", host) self.platform_id = textToId("platform", platform) @@ -84,7 +84,7 @@ class GetTimeSeriesStats: self.snapshots, benchmark_id, metric_id) changes = extractChanges( - time_series, metricIdToLowerIsBetter(metric_id), self.tolerance) + time_series, metricIdToLowerIsBetter(metric_id), self.difftol) stats = extractTimeSeriesStats(time_series, changes, self.snapshots) @@ -139,7 +139,7 @@ class GetTimeSeriesStats: print ( "\"sha12\": \"" + str(idToText("sha1", self.snapshots[-1][0])) + "\", ") - print "\"tolerance\": " + str(self.tolerance) + "" + print "\"difftol\": " + str(self.difftol) + "" # Snapshots: print ", \"snapshots\": [" |
