Skip to content

Upgrades to timer#821

Merged
landinjm merged 2 commits intoprisms-center:masterfrom
landinjm:timer_fun
Feb 19, 2026
Merged

Upgrades to timer#821
landinjm merged 2 commits intoprisms-center:masterfrom
landinjm:timer_fun

Conversation

@landinjm
Copy link
Copy Markdown
Contributor

@landinjm landinjm commented Feb 19, 2026

  • Please check if the PR fulfills these requirements
  • The PR follows our guidelines (formatting & style)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Timer is now hierarchical so we get something like this when not using Caliper
=====================================================================================================
  PRISMS-PF Timing Summary
=====================================================================================================
Section                                                N Calls  Wall Time (s)  CPU Time (s)  % Parent
-----------------------------------------------------------------------------------------------------
PDEProblem                                                   1         15.402        22.243  100.000%
  |- Initialization                                          1          0.470         0.580    3.049%
    |- Create FESystem                                       1          0.000         0.001    0.065%
    |- Generate mesh                                         1          0.101         0.090   21.560%
    |- reinitialize DoFHandlers                              1          0.015         0.017    3.225%
    |- Create constraints                                    1          0.007         0.007    1.445%
    |- reinitialize matrix-free objects                      1          0.030         0.044    6.439%
    |- reinitialize solution set                             1          0.000         0.002    0.066%
    |- reinitialize invm                                     1          0.001         0.002    0.188%
    |- reinitialize element volumes                          1          0.000         0.000    0.001%
    |- compute element volumes                               1          0.005         0.007    1.123%
    |- Solver initialization                                 1          0.202         0.209   43.078%
    |- Update ghosts                                         1          0.000         0.000    0.001%
    |- Auxiliary solver                                      1          0.000         0.000    0.000%
    |- Nonexplicit linear solver                             1          0.000         0.000    0.000%
    |- Nonexplicit self-nonlinear solver                     1          0.000         0.000    0.000%
    |- Nonexplicit co-nonlinear solver                       1          0.000         0.000    0.000%
    |- Postprocess solver                                    1          0.004         0.005    0.800%
      |- Zero ghosts                                         1          0.000         0.000    0.122%
      |- Update ghosts                                       1          0.000         0.000    0.082%
    |- Output                                                1          0.103         0.195   21.946%
  |- Solve Increment                                      5000         14.030        14.581   91.090%
    |- Update time-dependent constraints                  5000          0.010         0.105    0.070%
    |- Explicit solver                                    5000         13.873        13.366   98.880%
      |- Zero ghosts                                      5000          0.017         0.143    0.121%
      |- Update ghosts                                    5000          0.008         0.022    0.059%
    |- Nonexplicit auxiliary solver                       5000          0.007         0.029    0.047%
    |- Nonexplicit linear solver                          5000          0.006         0.045    0.046%
    |- Nonexplicit self-nonlinear solver                  5000          0.007         0.062    0.047%
    |- Nonexplicit co-nonlinear solver                    5000          0.007         0.069    0.047%
    |- Postprocess solver                                    5          0.016         0.022    0.116%
      |- Zero ghosts                                         5          0.000         0.000    0.081%
      |- Update ghosts                                       5          0.000         0.000    0.055%
  |- Output                                                  5          0.432         0.925    2.805%
=====================================================================================================

Caliper is still better because it provides more information, but this will let our users see what eats of the most time in their simulation.

@landinjm
Copy link
Copy Markdown
Contributor Author

@fractalsbyx Any more additions that I should grab while working on this?

@fractalsbyx
Copy link
Copy Markdown
Contributor

fractalsbyx commented Feb 19, 2026

looks good other than spellcheck

@landinjm landinjm enabled auto-merge February 19, 2026 16:36
@landinjm landinjm added this pull request to the merge queue Feb 19, 2026
Merged via the queue into prisms-center:master with commit 5eeb1d5 Feb 19, 2026
3 checks passed
@landinjm landinjm deleted the timer_fun branch March 11, 2026 15:44
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.

Organize timer class entries

2 participants