aboutsummaryrefslogtreecommitdiff
path: root/wa/framework/signal.py
AgeCommit message (Collapse)Author
2018-07-06framework: pep8 fixesSergei Trofimov
Fix issues reported by flake8.
2018-07-06framework: fix pylint issuesSergei Trofimov
Fix/disable checks for issues reported by pylint under wa/framework.
2018-07-04Update copyright headers.Sergei Trofimov
- 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-06-12fw/exec: add JOB_QUEUE_EXECUTION signalsSergei Trofimov
Add signals just before and just after commencing the execution of the job queue.
2018-06-06framework/signal: Remove JOB_FINALIZED signalMarc Bonnici
Remove the currenlty unused JOB_FINALIZED signal as we already have a WORKLOAD_FINALIZED signal.
2018-06-06fw/signal: Rename and implement signal for RUN_OUTPUT_PROCESSEDMarc Bonnici
Rename the OVERALL_RESULTS_PROCESSING signal to be called RUN_OUTPUT_PROCESSED and provide implementation.
2018-05-30framework/signals: Remove unnecessary job signalsMarc Bonnici
Remove overlap of signals between jobs and workload.
2018-05-30fw/signal: use enum to define prioritiesSergei Trofimov
Use an enum rather than a random class to define the priority levels for the signals.
2018-05-29fw/signal: rename "boot" to "reboot"Sergei Trofimov
Rename "boot" signals to "reboot", as it would more accurately reflect how they are used.
2018-05-29fw/signal: add job signalsSergei Trofimov
Add matched signals for before-after job execution. These are the equivalent of "spec" signals in WA2.
2018-03-08fw: fix error loggingSergei Trofimov
- Keep track of logged exceptions inside log_error itself. - signal: log the exception, if there is one in the finally clause of the signal wrapper; this will ensure that the error will be logged closer to the command that originated. - entrypoint: use log.log_error for top-level error logging, rather than the entrypoint logger directly; this will ensure that errors are not repeated unnecessarily. - Log CTRL-C message at zeroth indent level to make it easier to see in the non-verbose output where it occurred.
2018-01-25framework/signal: log on connect/disconnectSergei Trofimov
Add debug level logging for connect() and disconnect() functions.
2018-01-15wa: Rename `Instrumentation` to `Instruments`Marc Bonnici
To be maintain a consistent naming scheme, rename all instances of `Instrumentation` to `Instruments`
2017-12-07Run autoflake to remove unused imports & variablesBrendan Jackman
2017-11-03framework/signal: Fix typosBrendan Jackman
2017-11-03framework/signal: WhitespaceBrendan Jackman
2017-04-20Imports: Updated ImportsMarc Bonnici
Switch remaining wlauto imports to wa. Added other missing imports.
2017-03-29Implemeting target assistantsSergei Trofimov
- Workload's update_result stage has now been broken up into two parts: extract_results and update_output. This is to allow the assistant to pull output from the target in between the two stages. - Updated assistant implementations for Linux and Android targets from the exisiting code. - Extended target descriptor code to handle assistants and their parameters as well. - Updated the target manager to actually make use of the assistants.
2017-03-17Initial priority implementationSergei Trofimov
- Fixed up some of the signal map for instrumentation - Changed how priorites are specified -- no longer method name prefixes but dedicated decorators, including an easy way of specifying a custom priority level (no longer need to manually connect signals) - Updated ExecutionTimeInstrument to work with the new system - Also removed some dead code
2017-03-15Skeleton job executionSergei Trofimov
2017-03-06New target description + moving target stuff under "framework"Sergei Trofimov
Changing the way target descriptions work from a static mapping to something that is dynamically generated and is extensible via plugins. Also moving core target implementation stuff under "framework".
2017-02-21WA3 Exsisting CodeMarc Bonnici