-
Notifications
You must be signed in to change notification settings - Fork 4
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
Incorrect warning about missing timings #6
Comments
More generally, concerning timings, it seems strange to pick just those three to account for "proof". In fact all timings prefixed with "gnatwhy3" could be assigned to "proof", and all the prover timings as well. |
This was a quick fix related to the changes in the file format in the 2020 community release (see spat-timing_items.adb). The 2019 version had a field "proof" which disappeared in 2020. Guess I have to bite the bullet and instead of relying on the information in the timings object just add all times from the single proofs for the summary output. |
* Collect all gnatwhy3 prefixed timings into the proof timing entity. Gets rid of warnings about missing required fields, as these fields are technically not 'required'. * Implemented summing of proof times for GNAT CE 2020. * Fixed a bug in the time accumulation function.
Thanks for the report. I implemented your suggested changes and even found a defect in the calculation of the total proof time. The warnings should be gone now, and the reported timings in the summary should be more accurate. |
When running SPAT on a toy project, I get warnings like these:
But it's expected to have such missing fields, it just means the corresponding phase wasn't run at all. For the statistics, the tool should assume the phase took no time (0s).
The text was updated successfully, but these errors were encountered: