Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Common "Observation" Actions When Multiple Observers are Enabled #48

Open
kathlenemagnus-mips opened this issue Jan 14, 2025 · 0 comments

Comments

@kathlenemagnus-mips
Copy link
Contributor

With the current Observer design, each Observer will define its own pre/post execute and pre exception Actions to be inserted into the Atlas flow. If multiple Observers are enabled, this could mean that several, redundant observation Actions are inserted, which will hurt the simulator's performance.

All Observers have a common purpose: collect information about Atlas's execution and write the output to some output format (database, log, CoSim Event, etc.). It should be pretty straightforward to define common "observation" Actions that can be used by all Observers that are enabled. This should reduce the code duplication and reduce the number of Actions needed to support multiple Observers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant