1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 12:24:32 +00:00

freqsweep: added support for additional classifiers

This commit is contained in:
Sergei Trofimov 2017-04-05 14:48:11 +01:00
parent 06764dff00
commit cf0a4d3ff3

View File

@ -147,6 +147,8 @@ class FreqSweep(Instrument):
spec.id = '{}_{}_{}'.format(spec.id, sweep_spec['label'], freq) spec.id = '{}_{}_{}'.format(spec.id, sweep_spec['label'], freq)
spec.classifiers['core'] = sweep_spec['cluster'] spec.classifiers['core'] = sweep_spec['cluster']
spec.classifiers['freq'] = freq spec.classifiers['freq'] = freq
for k, v in sweep_spec['classifiers'].iteritems():
spec.classifiers[k] = v
spec.load(self.device, context.config.ext_loader) spec.load(self.device, context.config.ext_loader)
spec.workload.init_resources(context) spec.workload.init_resources(context)
spec.workload.validate() spec.workload.validate()