Sergei Trofimov
d64ab6f099
workloads: add deepbench
...
Add automation for Baidu's DeepBench benchmark for deep learning
operations.
2018-06-14 12:31:43 +01:00
Waleed El-Geresy
7470fb5ee9
Add target-params to Platform Tuple
...
Added support for specifying target parameters in the Platform tuple.
2018-06-14 12:06:33 +01:00
Sascha Bischoff
7fb85261da
instruments/serialmon: Add an instrument to monitor serial traffic
...
This instrument will log serial traffic to a file. The idea is to
assist with debugging development boards, as otherwise there is a
chance that crash reports, for example, are lost when the device is
reset by WA.
It logs the pre-run and post-run traffic to preamble_serial.log and
postamble_serial.log , respectively, in the top-level output
directory. Serial logs for each workload are stored in the appropriate
workload directory as serial.log.
As we are tying up the serial port, we stop the logging when the
device is reset to allow board such as the Arm Juno to be reset via
the serial connection.
2018-06-13 14:36:46 +01:00
Sergei Trofimov
0ca29bb337
fw/entrypoint: make command mandatory for Python 3
...
Python 3 has changed the behavior of subparsers so that they are no
longer mandatory by default. As a result, executing just "wa" under
Python 3 results in a random error, rather than a help message.
Fix this by making the subparsers mandatory.
2018-06-13 11:08:18 +01:00
scott
503005ba5f
Googleplaybooks: Adding support for night reading dialogues.
...
Certain devices present a night time reading popup alert when opening the books workload.
This can throw off the workload so I've added a function to check for this and dismiss if neccessary.
2018-06-12 22:54:43 +01:00
Sergei Trofimov
2cb1f47e11
fw/exec: pass context to run started/completed signals
...
To be consistent with the rest of exec signals.
2018-06-12 16:07:53 +01:00
Sergei Trofimov
ea97372ece
fw/exec: add JOB_QUEUE_EXECUTION signals
...
Add signals just before and just after commencing the execution of the
job queue.
2018-06-12 16:07:53 +01:00
Sergei Trofimov
5f7fde206d
fw/instrument: add hostside decorator
...
Add a decorator to indicate that a callback runs entirely host-side and
does not rely on a connection to the target. This means it will be
invoked even if the target was detected to be unresponsive.
2018-06-12 16:07:53 +01:00
Sergei Trofimov
2f99137ad5
fw/target: fix signals reboot on unresponsive
...
- Add "hard" parameter to TargetManager's reboot().
- Pass in context to TargetManager's reboot() and
verify_target_responsive() -- this is needed for signal dispatch.
- Call self.reboot() instead of self.target.reboot() when attempting a
reset for unresponsive targets inside TargetManager, in order to
ensure that appropriate signals are dispatched.
2018-06-12 16:07:53 +01:00
Sergei Trofimov
e816980471
fw/execution: add missing sender in signal
...
Add the missing sender for RUN_OUTPUT_PROCESSED signal wrap call.
2018-06-12 16:07:53 +01:00
Sergei Trofimov
c4838b4021
utils/serializer: add basestring to POD_TYPES
...
Was replaced with str during Python 3 porting.
2018-06-12 13:30:39 +01:00
Sergei Trofimov
657a10c09d
utils/serializer: fix level deserialization
...
Fix a regression introduced with Python 3 port -- JSON deserializer
should check for basestring rather than str when deciding whether to try
to decode a custom type.
2018-06-12 13:27:19 +01:00
Sascha Bischoff
b6531feb52
framework/instrument: Fix typo for on_job_failure
2018-06-11 15:59:53 +01:00
Marc Bonnici
b4b6f949cc
doc: Add overview of how WA config merging works
2018-06-11 08:10:07 +01:00
Marc Bonnici
aa4dbebcb6
doc: Add initial version of a glossary
2018-06-11 08:10:07 +01:00
Marc Bonnici
b7e17759a3
doc/faq: Add solution for Juno resetting upon commencing a WA run
2018-06-11 08:10:07 +01:00
Marc Bonnici
1879dd62f1
fw/core: Fix description of 'label' CongfigPoint
...
Update reference of result processors to output processors.
2018-06-11 08:10:07 +01:00
Marc Bonnici
9d14cb0a48
doc: Update dependencies and installation for Python 3 support
2018-06-11 08:10:07 +01:00
Marc Bonnici
bde3df8172
doc: Restructure API documentation
2018-06-11 08:10:07 +01:00
Marc Bonnici
a425fbf4d3
doc: Add additional API docs
2018-06-11 08:10:07 +01:00
Marc Bonnici
ae09ef174b
doc/method_map_template: Update to refer to signal dispatch diagram
2018-06-11 08:10:07 +01:00
Marc Bonnici
0196d3bdbe
doc: Update Output processing API docs
2018-06-11 08:10:07 +01:00
Marc Bonnici
4b5d85ce40
doc: Add WA execution model.
...
Add brief overview of WA's execution model.
2018-06-11 08:10:07 +01:00
Marc Bonnici
92df8852fd
doc: Rename references to folder
to directory
to be consistent.
2018-06-11 08:10:07 +01:00
Marc Bonnici
13d0743ac3
doc/contributing: Fix typos
2018-06-11 08:10:07 +01:00
Marc Bonnici
7313c82499
doc: Tidy up method map generation
...
Remove unsed variables and methods from the instrument method map
generation.
2018-06-11 08:10:07 +01:00
Marc Bonnici
c7af8f497f
doc: Fix typos in method map template
2018-06-11 08:10:07 +01:00
Marc Bonnici
3839da166d
doc: Fix instrument documentation
...
Fixed outdated `update_results` method references.
2018-06-11 08:10:07 +01:00
Marc Bonnici
e80feef486
doc: Add agenda user reference documentation.
2018-06-11 08:10:07 +01:00
Marc Bonnici
50f06388be
doc/revent: Fix workload name typo
2018-06-11 08:10:07 +01:00
Marc Bonnici
dbe98edd7d
doc: Reword introduction paragraph
2018-06-11 08:10:07 +01:00
Waleed El-Geresy
0269a30ca6
docs:writing_plugins: Typos and Grammar
2018-06-08 17:50:22 +01:00
sdpenguin
1a98b8a4d3
Typo fix
2018-06-08 17:12:02 +01:00
Sergei Trofimov
b3de85455a
Add support for Python 3
...
Add support for running under Python 3, while maintaining compatibility
with Python 2.
See http://python-future.org/compatible_idioms.html for more details
behind these changes.
2018-06-07 14:48:40 +01:00
Marc Bonnici
c3ddb31d4d
fw/entrypoint: Fix help information for '--help' argument
...
In a previous commit we filtered parameters so that '-h' is never passed
to 'parse_known_commands' to ensure our own custom help message is displayed,
now also filter for '--help' for the same reason.
2018-06-07 11:04:29 +01:00
Marc Bonnici
6d9ae419c2
framework/signal: Remove JOB_FINALIZED signal
...
Remove the currenlty unused JOB_FINALIZED signal as we already have a
WORKLOAD_FINALIZED signal.
2018-06-06 08:38:54 +01:00
Marc Bonnici
baf570fc62
fw/signal: Rename and implement signal for RUN_OUTPUT_PROCESSED
...
Rename the OVERALL_RESULTS_PROCESSING signal to be called
RUN_OUTPUT_PROCESSED and provide implementation.
2018-06-06 08:38:54 +01:00
Marc Bonnici
b15b937863
fw/parsers: Ensure that a section is a valid dict
...
Ensure that all section entries are valid dicts otherwise raise an error
informing the user.
2018-06-05 17:54:34 +01:00
Sergei Trofimov
52243a5804
Upadate .gitignore
2018-06-01 17:39:44 +01:00
Sergei Trofimov
aee8b10f26
doc/delay: fix warning.
...
Add space between a note admonition and the preceding paragraph.
2018-06-01 17:18:43 +01:00
Marc Bonnici
2cd355195f
fw/rt_config: Fix validation checks
...
Remove unnecessary validation checks and fix remaining so they don't fail
under certain combinations of parameters.
2018-06-01 15:33:10 +01:00
Marc Bonnici
9035c654bd
fw/rt_config: Allow for auto determine 'max' and 'min' for other freqs
...
Allow users to specify 'max' and 'min' for the maximum and minimum
frequencies to be set for a cpu as well as the current frequency.
2018-06-01 15:33:10 +01:00
Marc Bonnici
e1518e8c5d
fw/rt_config: Refactor and fix method calls to resolve 'max'/'min'
...
Previously incorrect method calls were used to try and convert 'max' and
'min' into their corresponding frequencies, now call the correct methods
and refactor the conversion into a separate method.
2018-06-01 15:33:10 +01:00
Sergei Trofimov
ee3c01418f
fw/execution: fix get_resource with strict=False
...
If strict=False, resolver.get_resource will return None, rather
than raising NotFoundError. Do not attempt to record the md5 hash in
that case.
2018-06-01 14:01:57 +01:00
Marc Bonnici
ba717bbcd1
instrument/delay: Remove breakpoint
2018-05-30 12:25:58 +01:00
Marc Bonnici
b14c3d8868
framework/instrument: Fix lefover references to instrument proiorities
...
Update instrument proiorities to use signal proiorities instead.
2018-05-30 12:23:15 +01:00
Marc Bonnici
703e32e511
framework/signals: Remove unnecessary job signals
...
Remove overlap of signals between jobs and workload.
2018-05-30 12:23:15 +01:00
Marc Bonnici
ceadb36880
instruments/delay: Port instrument to WA3
...
Port the delay instrument to WA3.
2018-05-30 12:22:46 +01:00
Sergei Trofimov
864ded60ae
fw/instrument: use signal priorities
...
Use signal priorities to define priority decorators, rather than
defining own priority enum.
2018-05-30 12:02:28 +01:00
Sergei Trofimov
d79e8324f0
fw/signal: use enum to define priorities
...
Use an enum rather than a random class to define the priority levels
for the signals.
2018-05-30 12:02:28 +01:00