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

Remove WTE from cache #3464

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Remove WTE from cache #3464

merged 1 commit into from
Dec 6, 2024

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented Dec 3, 2024

This commit removes the WallTimeEstimate from the cache and moves it to an isolated place. In the process, I refactored the struct to split reporting with updating, so that reporting can be done with any frequency/schedule desired using the same Schedule infrastructure used by other functions/diagnostics as well.

Closes #2992, #2935

@Sbozzolo Sbozzolo force-pushed the gb/remove_wte branch 2 times, most recently from b59fd2e to 6d30ca6 Compare December 4, 2024 01:03
@Sbozzolo
Copy link
Member Author

Sbozzolo commented Dec 4, 2024

Needs: CliMA/ClimaUtilities.jl#137

@Sbozzolo Sbozzolo force-pushed the gb/remove_wte branch 2 times, most recently from d7b0376 to abc36d4 Compare December 4, 2024 01:04
@Sbozzolo Sbozzolo requested a review from juliasloan25 December 5, 2024 21:48
@Sbozzolo Sbozzolo marked this pull request as ready for review December 5, 2024 21:49
@Sbozzolo Sbozzolo force-pushed the gb/remove_wte branch 4 times, most recently from 5e96c42 to cb0e2ed Compare December 5, 2024 23:40
This commit removes the `WallTimeEstimate` from the cache and moves it
to an isolated place. In the process, I refactored the struct to split
reporting with updating, so that reporting can be done with any
frequency/schedule desired using the same Schedule infrastructure used
by other functions/diagnostics as well.
Copy link
Member

@juliasloan25 juliasloan25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will have manifest conflicts with #3471

@Sbozzolo Sbozzolo added this pull request to the merge queue Dec 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 6, 2024
@Sbozzolo Sbozzolo added this pull request to the merge queue Dec 6, 2024
Merged via the queue into main with commit 373f108 Dec 6, 2024
14 of 16 checks passed
@Sbozzolo Sbozzolo deleted the gb/remove_wte branch December 6, 2024 23:22
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

Successfully merging this pull request may close these issues.

Off-by-one in WallTimeEstimate
2 participants