mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 11:58:55 +00:00
framework/config: Rename by_spec
to by_workload
execution order
Rename the `by_spec` execution order to `by_workload` and update description for clarification.
This commit is contained in:
parent
efffae5254
commit
2a95a198b0
@ -547,7 +547,7 @@ class RunConfiguration(Configuration):
|
||||
'execution_order',
|
||||
kind=str,
|
||||
default='by_iteration',
|
||||
allowed_values=['by_iteration', 'by_spec', 'by_section', 'random'],
|
||||
allowed_values=['by_iteration', 'by_section', 'by_workload', 'random'],
|
||||
description='''
|
||||
Defines the order in which the agenda spec will be executed. At the
|
||||
moment, the following execution orders are supported:
|
||||
@ -572,9 +572,11 @@ class RunConfiguration(Configuration):
|
||||
|
||||
X.A1, X.B1, Y.A1, Y.B1, X.A2, X.B2, Y.A2, Y.B2
|
||||
|
||||
``"by_spec"``
|
||||
``"by_workload"``
|
||||
All iterations of the first spec are executed before moving on
|
||||
to the next spec. E.g. A1 A2 A3 B1 C1 C2.
|
||||
to the next spec. E.g::
|
||||
|
||||
X.A1, X.A2, Y.A1, Y.A2, X.B1, X.B2, Y.B1, Y.B2
|
||||
|
||||
``"random"``
|
||||
Execution order is entirely random.
|
||||
|
@ -125,7 +125,7 @@ class ConfigManager(object):
|
||||
self._jobs_generated = True
|
||||
|
||||
|
||||
def permute_by_job(specs):
|
||||
def permute_by_workload(specs):
|
||||
"""
|
||||
This is that "classic" implementation that executes all iterations of a
|
||||
workload spec before proceeding onto the next spec.
|
||||
@ -205,7 +205,7 @@ def permute_randomly(specs):
|
||||
|
||||
permute_map = {
|
||||
'by_iteration': permute_by_iteration,
|
||||
'by_job': permute_by_job,
|
||||
'by_workload': permute_by_workload,
|
||||
'by_section': permute_by_section,
|
||||
'random': permute_randomly,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user