aboutsummaryrefslogtreecommitdiff
path: root/wa
diff options
context:
space:
mode:
authorMarc Bonnici <marc.bonnici@arm.com>2019-01-10 14:35:08 +0000
committerMarc Bonnici <marc.bonnici@arm.com>2019-01-11 10:12:42 +0000
commit766b96e2add6c629977773a6ddb936e1bfb355f0 (patch)
tree0dcf3a98bc0f3a3bf244e6a09ab5011cbaaaf5ee /wa
parent3c9de98a4b7c704bbb443889dc2dfe54c32a01f8 (diff)
fw/workload: Add a 'View' parameter to ApkWorkloads
Allow for easy configuring of a view for a particular workload as this can vary depending on the device which can be used when using certain instruments for example `fps`.
Diffstat (limited to 'wa')
-rw-r--r--wa/framework/workload.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wa/framework/workload.py b/wa/framework/workload.py
index 954f3fed..f5d0e135 100644
--- a/wa/framework/workload.py
+++ b/wa/framework/workload.py
@@ -235,6 +235,12 @@ class ApkWorkload(Workload):
will fall back to the version on the target if available. If
``False`` then the version on the target is preferred instead.
"""),
+ Parameter('view', kind=str, default=None, merge=True,
+ description="""
+ Manually override the 'View' of the workload for use with
+ instruments such as the ``fps`` instrument. If not specified,
+ a workload dependant 'View' will be automatically generated.
+ """),
]
@property