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

framework/config: add eanbled processor tracking to JobGenerator

Add attributes for tracking enabled processors to JobGenerator (similiar
to what already exists for instruments).
This commit is contained in:
Sergei Trofimov
2017-11-03 16:02:44 +00:00
committed by setrofim
parent 337c5e5e1d
commit 4f8bd00fe2
2 changed files with 12 additions and 1 deletions

View File

@@ -1022,13 +1022,20 @@ class JobGenerator(object):
self._read_enabled_instruments = True
return self._enabled_instruments
@property
def enabled_processors(self):
self._read_enabled_processors = True
return self._enabled_processors
def __init__(self, plugin_cache):
self.plugin_cache = plugin_cache
self.ids_to_run = []
self.sections = []
self.workloads = []
self._enabled_instruments = set()
self._enabled_processors = set()
self._read_enabled_instruments = False
self._read_enabled_processors = False
self.disabled_instruments = []
self.job_spec_template = obj_dict(not_in_dict=['name'])