Comments (2)
In addition to reboot events and workload iterations, it would also be useful for the dry run output to show configuration changes, for example writes to sysfiles.
from workload-automation.
Logging actual changes that would occur on a device may be tricky. It may be possible to implement this level of detail buy adding a "dry-run" Device interface, rather than a Runner; so the runner executes the workload as normal but all calls to execute(), set_sysfile_value(), push_file(), etc will just result in log output.
The problem is that some of these changes will occur depending on the information read from the device, so a live connection is not available, it would not be possible to log everything that would happend. Only way around it would be constrain the "dry run" option to only work if a live connection to the device is aviable. In addition, executing extensions may also result in changes on the host as well as on the device, and there is no straight forward way to shim that, as there is no unified interface for the host unlike the target device (extensions can use all the standard Python APIs to, e.g., kick off subprocess or create fils and directories etc).
On the other hand, if we're only talking about logging configuration that would be applied, rather than actual changes that would happen on the device, that would be straight forward to do with the DryRunner implmentation outlined in the OP.
from workload-automation.
Related Issues (20)
- Linux workloads HOT 2
- Ordering constraints for output processors 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.