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

Allow stream providers to carry updatable state #11

Open
p-e-w opened this issue Sep 30, 2018 · 0 comments
Open

Allow stream providers to carry updatable state #11

p-e-w opened this issue Sep 30, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@p-e-w
Copy link
Owner

p-e-w commented Sep 30, 2018

In CPUStreamProvider the streams for each core currently have to retrieve the full CPU statistics whenever value is called.

This work duplication could be reduced if stream providers were themselves invoked once per update cycle. The statistics could be retrieved by the provider then, and shared by all individual streams belonging to it.

@p-e-w p-e-w added the enhancement New feature or request label Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant