Sergei Trofimov
4098c0623b
tests: quieten signal logger
...
Set signal logger level to CRITICAL to prevent it from spewing out
log message on the console for expected errors during tests.
2018-07-05 10:36:57 +01:00
Sergei Trofimov
45b5de65d1
dev_scripts: rename copyright_updater
...
Rename copyright_updater to update_copyrights in order to mach the
naming convention of other scripts.
2018-07-04 16:33:31 +01:00
Sergei Trofimov
09d7d55772
dev_scripts: enhance copyright updater
...
- Expand the types for files it checks to include Java, C, and shell
scripts.
- Add exclusion paths.
- Add copyright header to files that don't already have one but should.
2018-07-04 16:33:31 +01:00
Sergei Trofimov
8878cc20d4
Update copyright headers.
...
- Add copyright headers to files that did not already have them
- Update the year to the last year the file was modified in files with
existing headers.
2018-07-04 16:33:31 +01:00
Marc Bonnici
5892b1de18
commands/revent: Fix missing import
2018-07-04 16:33:08 +01:00
Marc Bonnici
452d91b2d6
output_processors/sqlite: Fix incorrect error type and import
2018-07-04 16:33:08 +01:00
Marc Bonnici
c9ff15ca53
wa/workloads: Fix missing imports
2018-07-04 16:33:08 +01:00
Marc Bonnici
3fd40e5f19
utils/types: Fix correct arguments for join
...
Ensure that the join method for a ``str`` is passed a single list
instead of 2 arguments.
2018-07-04 16:33:08 +01:00
Marc Bonnici
cbb8fdab28
utils/diff: Fix missing import for logging
2018-07-04 16:33:08 +01:00
Marc Bonnici
f4838b4466
utils/android: Fix typo in variable assignment
2018-07-04 16:33:08 +01:00
Marc Bonnici
5231bbcf71
fw/exception: Add 'message' property to SerializerSyntaxError
...
Allow for the fact that Exceptions do not have a message attribute in
Python3 so mimic the functionality.
2018-07-04 11:54:17 +01:00
Marc Bonnici
9d34fc0a4d
utils/serializer: Fix exception handling in Python3
...
Allow for the fact that exceptions do not have a 'message' attribute in
Python3.
2018-07-04 11:54:17 +01:00
Marc Bonnici
57ddf7845c
tests: Update tests to work with python3
2018-07-04 11:54:17 +01:00
Marc Bonnici
107fdc203c
tests/test_utils: Update behaviour of test
...
As part of commit #b3de85 porting to WA3, the behaviour of Enums changed
so that the attribute to be fetched is converted to lower case before
the lookup occurs. Due to the fact that 'names' is a predefined
attribute of the Enum class this clashes and will return the full list
of names instead of the individual entry. Update the test to use another
non reserved entry.
2018-07-04 11:54:17 +01:00
Marc Bonnici
1648a58c11
framework/workload: Add check for platform
...
Remove unused ``platform`` attributes and add ``supported_platforms``
along with check so that workloads can fail early when attempting to run
on an incorrect platform.
2018-07-02 12:11:00 +01:00
Marc Bonnici
60b37995e0
workloads/jankbench: Update to check if running in a container.
...
Instead of using the os to determine whether the screen state should
be checked, use target flag to see if running inside a container.
2018-07-02 10:59:18 +01:00
scott
68e7fc0b99
workloads: fix mongoperf
...
Mongoperf currently has a non-ASCII character in the file that causes a failure.
This commit rewords the description to remove the incriminating character.
2018-07-02 10:02:01 +01:00
Sergei Trofimov
e55f48089b
fw/output: expose metadata
...
Expose result.metadata as a property of the output.
2018-06-29 17:25:29 +01:00
Marc Bonnici
edfbee291b
workloads/jankbench: Fix typo in method name
...
Fix incorrect method name.
2018-06-29 17:25:09 +01:00
Marc Bonnici
04cbf51a15
workloads/jankbench: Fix screen state for ChromeOS
...
We cannot currently determine the screen state from cannot android
containter so only check on android systems.
2018-06-29 17:25:09 +01:00
Marc Bonnici
d016318a32
workloads: Bump known working version of workloads.
2018-06-29 14:46:16 +01:00
Sergei Trofimov
c69a0f69e6
workloads: add mongoperf
...
Add a workload that runs mongoperf benchmark that measures I/O
performance on a MongoDB server. This workload assumes that mongoperf
is already installed.
2018-06-29 12:39:36 +01:00
Marc Bonnici
60989ef66c
doc/contributing: Add a guide to documentation styles
...
Add a documentation style guide to aid in keeping a consistent style
when adding new documentation.
2018-06-29 11:04:09 +01:00
Marc Bonnici
c67994260d
doc: Update heading underlines
...
Ensure consistency for title levels throughout documentation.
2018-06-29 11:04:09 +01:00
Marc Bonnici
98bd3e09b2
doc/api: Make attribute listing a consistent style
2018-06-29 11:04:09 +01:00
Sergei Trofimov
1a7a9e36e6
gitignore: fix path to instrument_method_map.rst
2018-06-28 14:04:21 +01:00
Sergei Trofimov
39b59e4d79
doc: ouput api: add reference to how-to
...
Add a reference to the processing WA output how-to inside the output API
docs.
2018-06-28 12:29:07 +01:00
Sergei Trofimov
ef16d7a754
doc: add output processing how-to
...
Add a developer how-to illustrating the use of WA output processing API
by creating an ASCII reporter.
2018-06-28 12:10:19 +01:00
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