1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00
Commit Graph

1662 Commits

Author SHA1 Message Date
Sergei Trofimov
06d351f054 utils/misc: fix write_table column widths
Consider headers when calculating column widths. This will ensure proper
alignment in cases where the column header is wider than any of the
column values.
2018-06-28 10:32:36 +01:00
Nicholas Thoelke
a3b1921793 dev_scripts: add copyright_updater
Add copyright_updater script which checks Python files to ensure their
copyright is up to date with its last modification.
2018-06-27 16:23:08 +01:00
Marc Bonnici
98de37807d fw/version: Change format of version to conform with PEP440
When installing from source WA attempts to include the commit ID in the
version of the installed pacakge however this caused issues with package
managers like pip. PEP440 specifies that local identifiers must be in the
form `<public version identifier>[+<localversion label>]` so update the
version to conform.

https://www.python.org/dev/peps/pep-0440/#local-version-identifiers
2018-06-27 11:41:24 +01:00
Sergei Trofimov
d3872716ed workloads/deepbench: lengthen timeout
Lengthen timeout for gemm and conv tests to be the same as for sparse
test. While the former two usually take a lot less time, their execution
time will vary significantly depending on the target and the runtime
environment (e.g. cpu frequencies might be forced to lowest values).
2018-06-27 10:24:57 +01:00
Marc Bonnici
b858819cf2 gitignore: Update to reflect new doc structure
Update the location of the instrument method map with the new structure
for the documentation.
2018-06-26 18:29:45 +01:00
Marc Bonnici
f4d8b64c8c doc: Reorder doc pages
Split glossary into its own section and change the order the pages are
displayed.
2018-06-26 16:25:05 +01:00
Marc Bonnici
9403c43a03 doc/agenda_reference: Improve global aliases description 2018-06-26 16:25:05 +01:00
Marc Bonnici
116c260bae doc: Reorganise Developer Guide/Reference 2018-06-26 16:25:05 +01:00
Marc Bonnici
e66ae050a9 doc/dev_how_tos: Remove 'Example' from headings and update tags 2018-06-26 16:25:05 +01:00
Marc Bonnici
ca17542d56 doc: Fix old references to results processors 2018-06-26 16:25:05 +01:00
Marc Bonnici
3c467dce95 doc: Fix missing import in Getter example 2018-06-26 16:25:05 +01:00
Marc Bonnici
3ed14e9864 doc: Fix instrument update_output method description 2018-06-26 16:25:05 +01:00
Marc Bonnici
af8bc42cc2 doc: Update resolver example to use context directly 2018-06-26 16:25:05 +01:00
Marc Bonnici
60e9f08ebc doc/glossary: Fix incorrect reference for Output Processors entry 2018-06-26 16:25:05 +01:00
Marc Bonnici
37d6433214 doc: Improve Adding a Workload how to 2018-06-26 16:25:05 +01:00
Marc Bonnici
23eb428829 doc: Add additional references and formatting 2018-06-26 16:25:05 +01:00
Marc Bonnici
2f94d12b57 doc: Restructure developer information
Re-organise and add additional information to developer guide.
2018-06-26 16:25:05 +01:00
Marc Bonnici
a64bb3a26f doc/api: Add workload APIs 2018-06-26 16:25:05 +01:00
Marc Bonnici
750e206b85 doc/dev_reference: Update to use correct API formatting
Update the interfaces for Workloads OutputProcessors and Instruments to be
formatted as an API correctly.
2018-06-26 16:25:05 +01:00
Marc Bonnici
9d160b1381 doc/execution_model: Remove unintentional heading 2018-06-26 16:25:05 +01:00
Marc Bonnici
d637557f5a doc: Update links to have more useful display text 2018-06-26 16:25:05 +01:00
Marc Bonnici
716af1b966 doc: Make config listsing a consistent style 2018-06-26 16:25:05 +01:00
Marc Bonnici
b6e91630b8 doc/user_reference: Restructure Agenda reference 2018-06-26 16:25:05 +01:00
Marc Bonnici
6c93590062 doc: Restructure
Restructure the documentation to be split into `User Information` and
`Developer Information`, and split the how to guides into their
corresponding section.
2018-06-26 16:25:05 +01:00
Sergei Trofimov
3c0f1968c5 workloads/apache: fix for Python 3
urllib2 does not exist in Python 3, and its methods have been moved into
urllib.request. Use future library to create aliases that work across
both 2 and 3.
2018-06-26 09:55:29 +01:00
Marc Bonnici
d4aad394d7 doc/index: Update intro paragraph
Update number of workloads and add note to guide users to the plugin
reference for documentation of individual plugins.
2018-06-25 18:19:30 +01:00
Marc Bonnici
22fcc42903 fw/core: Correct parameter description 2018-06-25 18:19:30 +01:00
Marc Bonnici
1c60f47440 commands/record: Fix record command description.
All stages are now optional for recording however the record description
has not been updated to reflect this.
2018-06-25 18:19:30 +01:00
Marc Bonnici
df076c68da templates: Add parameter example to UiAutomator template.
Add additional information to the UiAutomator template for retrieving
parameters.
2018-06-25 18:19:30 +01:00
Marc Bonnici
d3cb350461 commands/templates: Update to add optional setup_rerun method 2018-06-25 18:19:30 +01:00
Marc Bonnici
e672fbed32 doc/execution_model: Add details about optional setup_rerun method 2018-06-25 18:19:30 +01:00
Marc Bonnici
185548d13b doc/signal_dispatch: Update diagram to incorporate new signals
Add new signals to diagram and fix incorrect labels.
2018-06-25 18:19:30 +01:00
Sergei Trofimov
03235d0b59 doc: output API restructure part 2
- move TargetInfo and RunInfo docs into the new output API doc
- remove the old developer_reference/APIs.rst as obsolete
- Update output API tag reference to point to the new doc
2018-06-25 17:11:47 +01:00
Sergei Trofimov
275c243764 doc: add output API docs
- Add a reference tag for metadata
- Remove doc/source/api from .gitignore -- this is no longer
  auto-generated.
- Add a top-level "index" for the API documentation.
- Add output API documentation.
- Remove the output API example file, as its contents is now part of the
  output API docs.
2018-06-25 17:11:47 +01:00
Sergei Trofimov
c400591759 doc: update glossary
Add a few more terms that have special meaning in the context of WA to
the glossary.
2018-06-25 17:11:47 +01:00
Sergei Trofimov
af95b5c990 workloads/lmbench: doc fix
Add missing blank lines around the URL indent block.
2018-06-25 17:11:47 +01:00
scott
29174912dd workloads: add lmbench
Add a workload for lat_mem_rd and bw_mem tests of LMbench benchmark, a suite of
portable ANSI/C microbenchmarks for UNIX/POSIX.

This is a port of corresponding workload from WA2.
2018-06-25 14:52:22 +01:00
Sergei Trofimov
687d09cd53 utils/types: fix typos 2018-06-25 14:14:00 +01:00
Marc Bonnici
c255576fd7 fw/core: Allow for a user_directory to be specified using ~
Previously if a path for the `user_directory` was specified using `~`
this would not be expanded causing issues due to incorrect path joining.
2018-06-25 13:45:43 +01:00
Sergei Trofimov
3ecc46b662 fw/exec: ensure correct state on early abort
Ensure the serialized state gets written out in case of early abort
(before the run has been fully initialized and job execution has
started), and  that the appropriate final output is generated.

This requires that ExecutionContext is created much earlier (in order
for postamble to be possible), and that KeyboardInteruptException is
caught and handled properly by the Executor.
2018-06-22 18:04:16 +01:00
Sergei Trofimov
d0dd6c1e04 fw/exec: context: add write_job_specs
Add a method to encapsulate the writing of ConfigManager's job specs
into run_output.
2018-06-22 18:04:16 +01:00
Sergei Trofimov
861dff75d4 fw/exec: context: add write_output()
Add a convenience method for invoking write_info(), write_state(), and
write_result() of run_output. This will make it easier to call it from
multiple places.
2018-06-22 18:04:16 +01:00
Sergei Trofimov
1b498fa42d fw/exec: context: make target_info a property
TargetManger.get_target_info() gets invoked twice: first on context
creation, and then a second lime shortly afterwards to populate
RunOutput. Change target_info attribute inside the context to be a
property that redirects to run_output. This will allow the context to be
created earlier, before a target connection  is available.
2018-06-22 18:04:16 +01:00
Sergei Trofimov
6486378c89 commands/run: add run.log as an Artifact
Add run.log as an Artifact to the output, once it has been created.
Every file outsize of __meta (excepting result.json) should have an
associated artifact to describe it.
2018-06-22 18:04:16 +01:00
Sergei Trofimov
8da911e9d5 fw/target: add initialize() to TargetManger
Add explicit initialization to TargetManger in order to separate the
creation of the TargetManger form connection to the target.
2018-06-22 18:04:16 +01:00
scott
3b322a36c9 Speedometer: Changing workload to use Speedometer 2.0 by default 2018-06-22 14:55:39 +01:00
Waleed El-Geresy
ae0b7c9894 output_processor/sqlite: Fix typo in function name
Correct the word connecton to connection.
2018-06-22 09:53:19 +01:00
Joe Savage
f05a64ef95 workloads/googlemaps: Add googlemaps workload 2018-06-20 17:23:49 +01:00
Sergei Trofimov
35f644ba76 workloads/chrome: fix docs
- Escape asterisk (otherwise, it is interpreted as "open emphasis")
- Use monospace formatting for paths.
- Trim to 79 columns wide
2018-06-20 17:01:48 +01:00
Marc Bonnici
b85665fa12 workloads/androbench: Fix directory structure
Correct the location of the UiAutomator code from `adobereader` to
`androbench`.
2018-06-20 16:39:07 +01:00