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

Add Statistic support to PortModules #1204

Open
feldergast opened this issue Feb 6, 2025 · 0 comments
Open

Add Statistic support to PortModules #1204

feldergast opened this issue Feb 6, 2025 · 0 comments
Assignees
Milestone

Comments

@feldergast
Copy link
Contributor

Please describe the new features with any relevant use cases.
Add support for Statistics to the PortModule API

Describe the proposed solution you plan to implement
The Statistics created in PortModules will be mapped to the Component of the port that the PortModule is attached to. We will map PortModule stats into the same namespace so that the various enableStatitics calls will work.

Testing plan
Will add tests to the statistics test suite.

Additional context
The PortModule base class has a BaseComponent* to the component that it is being attached to. This will allow the PortModule to map its stats into the (Sub)Component.

@feldergast feldergast self-assigned this Feb 6, 2025
@feldergast feldergast added this to the Future milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant