Skip to content

Feature: Add Iteration Wall-Clock Timing (ITER_TIME)#2774

Merged
pcarruscag merged 2 commits intosu2code:developfrom
Soumyadipta-Banerjee:feature/iteration_timing
Apr 3, 2026
Merged

Feature: Add Iteration Wall-Clock Timing (ITER_TIME)#2774
pcarruscag merged 2 commits intosu2code:developfrom
Soumyadipta-Banerjee:feature/iteration_timing

Conversation

@Soumyadipta-Banerjee
Copy link
Copy Markdown
Contributor

Proposed Changes

This pull request introduces the ITER_TIME field, which prints the physical wall-clock time elapsed during the inner iteration step as an optional diagnostic column.

  • Uses SU2_MPI::Wtime() synchronously across ranks to capture precise delta times between iteration steps.
  • Designed as an opt-in metric via SCREEN_OUTPUT or HISTORY_OUTPUT configuration properties. It does not clutter the default console arrays, protecting the TestCases baseline reference setups in the CI pipeline.
  • Handles padding organically aligned to ScreenOutputFormat::FIXED to retain the tight aesthetic tracking without jitter.

Related Work

N/A

PR Checklist

Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

Comment thread SU2_CFD/src/output/COutput.cpp Outdated
Comment thread SU2_CFD/src/output/COutput.cpp Outdated
@pcarruscag pcarruscag merged commit 3836766 into su2code:develop Apr 3, 2026
37 checks passed
@Soumyadipta-Banerjee Soumyadipta-Banerjee deleted the feature/iteration_timing branch April 3, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants