Comments (2)
The order in which output processors (or instruments) are invoked does not depend on the order in which they are listed in the agenda. The assumption is that they are independent and chaining as you describe it is not supported. Adding something like that would in theory be possible, but given that our execution model is already pretty complex, far from trivial. Given the fairly limited utility that would provide, we cannot commit to implementing such a feature with any kind of priority.
In your specif case you have several options:
- Combine the two output processors into one. If processor B depends on the output from processor A, then it never makes sense to use it independently of it. If you want to be able to invoke the functionality of processor A without invoking the functionality of the processor B, you can always make it a configuration parameter of the combined processor.
- Add the metrics in an earlier stage. Have
trace_processor
add the metrics as part ofprocess_job_output
stage, andmetric_plotter
utilise them as part ofexport_job_output
. - We do have a limited ordering facility for callbacks in the form of priority decorators. You could decorate
trace_processor
's callback with@fast
(from wa import fast
) to ensure it gets invoked before callbacks with "normal" priority. (Note: this feature isn't really designed for enforcing ordering between specific augmentations; it's primary purpose is to increase precision for instrumentation by ensuring that timing-sensitive operations are not delayed by long ones; see https://workload-automation.readthedocs.io/en/latest/developer_information.html#prioritization).
from workload-automation.
Thanks a lot, switching to export_job_output
did it for me (seemed less of a hack than priority decorators).
from workload-automation.
Related Issues (20)
- Linux workloads HOT 2
- Reliable power measurement with ADB connected HOT 7
- can we configure an agenda to loop indefinitely? HOT 3
- GeekBench5 automation is broken for latest version (5.4.6) HOT 1
- Issue running any workload on rooted Pixel 6 (Android 13) HOT 3
- Runtime parameter cpufreq change failure on Pixel 6 (root access, Android 13) HOT 4
- Adding a custom instrument - Could not find plugin or alias HOT 5
- Add Simpleperf binary that WA uses instead of the on device one HOT 1
- pm grant permission error HOT 1
- Issues with some workloads HOT 7
- Regarding Runtime Parameter HOT 19
- Error in record HOT 7
- extra_plugin_paths config ignored
- Buggy rt-app binary HOT 2
- Support Python 3.12 HOT 3
- Some questions about adding own workloads HOT 2
- Simpleperf error when more than 6 events HOT 3
- Reducing Setting Up Target Phase? HOT 3
- Gem5 Support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workload-automation.