1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 11:22:41 +01:00

Allow setting classifiers via agenda.

This commit is contained in:
Sergei Trofimov
2015-08-17 10:37:40 +01:00
parent aa2ae03ce6
commit 25c0fd7b8b
3 changed files with 9 additions and 2 deletions

View File

@@ -254,13 +254,13 @@ class IterationResult(object):
self.spec = spec
self.id = spec.id
self.workload = spec.workload
self.classifiers = copy(spec.classifiers)
self.iteration = None
self.status = self.NOT_STARTED
self.output_directory = None
self.events = []
self.metrics = []
self.artifacts = []
self.classifiers = {}
def add_metric(self, name, value, units=None, lower_is_better=False, classifiers=None):
classifiers = merge_dicts(self.classifiers, classifiers or {},