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

Database: allow to mark an entry as static #158

Open
MatthieuDartiailh opened this issue Oct 5, 2018 · 0 comments
Open

Database: allow to mark an entry as static #158

MatthieuDartiailh opened this issue Oct 5, 2018 · 0 comments

Comments

@MatthieuDartiailh
Copy link
Member

The idea here would be to allow to specify that once written an entry won't change during a measurement. This would obviously apply to Definitions and any value resulting of the evaluation of static fields. Having this capability would allow some optimisation in particular regarding the saving of data. For example HDF5 could take adavntage of knowing the size of the final array to allocate properly the data, or generate enough frames.
The exact API needs some reflexion.
Another advantage would be for providing more accurate infos to the monitors by letting them know that some loops are static and that it is safe to estimate the time before completion.

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