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

Add CPU time in Debug/show_actions and a new parameter Problem/show_initial_setup #15444

Closed
YaqiWang opened this issue Jun 10, 2020 · 0 comments · Fixed by #16298
Closed

Add CPU time in Debug/show_actions and a new parameter Problem/show_initial_setup #15444

YaqiWang opened this issue Jun 10, 2020 · 0 comments · Fixed by #16298
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.

Comments

@YaqiWang
Copy link
Contributor

Reason

It will be helpful to let Debug/show_actions=true also print the CPU time for each action. I know we have performance graph and timed screen print-out, but adding this does not hurt.

Another useful feature on performance debugging is helping understand FEProblemBase::initialSetup. I'd like to add a new parameter Problem/show_initial_setup, which will be like show_actions and print the CPU time and memory usage at each step of initial setup. This is part of my idea of having moose footprint during the run. I think having this is very useful.

Design

Enhance an existing parameter and add a new one. If you think this is valid, I can send in a PR quickly. I already had the codes and find it is very helpful for finding hot locations without using google performance tools.

Impact

New feature.

@YaqiWang YaqiWang added P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software. labels Jun 10, 2020
YaqiWang added a commit to YaqiWang/moose that referenced this issue Jun 11, 2020
YaqiWang added a commit to YaqiWang/moose that referenced this issue Jun 11, 2020
YaqiWang added a commit to YaqiWang/moose that referenced this issue Jun 11, 2020
YaqiWang added a commit to YaqiWang/moose that referenced this issue Jun 11, 2020
YaqiWang added a commit to YaqiWang/moose that referenced this issue Jun 11, 2020
YaqiWang added a commit to YaqiWang/moose that referenced this issue Jun 12, 2020
YaqiWang added a commit to YaqiWang/moose that referenced this issue Jun 15, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 18, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 18, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 18, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 18, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 26, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 26, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 29, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 29, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 29, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 29, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 30, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 30, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jun 30, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jul 1, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jul 1, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jul 1, 2020
friedmud added a commit to friedmud/moose that referenced this issue Jul 1, 2020
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
Fixup a couple of tests refs idaholab#15444

Remove debugging statement refs idaholab#15444

Clang format idaholab#15444

Fixup build error refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
Address comments refs idaholab#15444

Another initialization refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
clang format refs idaholab#15444

Splitting for debugging refs idaholab#15444

More breaking out refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
Fix printing error refs idaholab#15444

Clang format refs idaholab#15444

Fix compile issue refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
…idaholab#15444

Update framework/src/utils/PerfGraphLivePrint.C

Use a const string for Finished

Co-authored-by: Logan Harbour <loganhharbour@gmail.com>

Update framework/src/utils/PerfGraphLivePrint.C

Change message to const

Co-authored-by: Logan Harbour <loganhharbour@gmail.com>

Update framework/src/utils/PerfGraph.C

Simplify

Co-authored-by: Logan Harbour <loganhharbour@gmail.com>

Removing more timers from stochastic tools refs idaholab#15444

Fixup some debugging stuff left around refs idaholab#15444

Initialize memory refs idaholab#15444

clang format refs idaholab#15444

Fix memory utils refs idaholab#15444

Update framework/src/utils/PerfGraph.C

Co-authored-by: Logan Harbour <loganhharbour@gmail.com>
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
Remove unused constant refs idaholab#15444

Fix capitilization for enum refs idaholab#15444

Resolve review comments refs idaholab#15444

Fix compile errors refs idaholab#15444

Just debugging refs idaholab#15444

Reduce duplicated code refs idaholab#15444

Add debugging refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
… way for PerfGraph to read from the registry refs idaholab#15444

Clang-format refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
…he PGLP is told to stop to make it more efficient refs idaholab#15444

clang format refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 17, 2021
…he PGLP is told to stop to make it more efficient refs idaholab#15444

clang format refs idaholab#15444
friedmud added a commit to friedmud/moose that referenced this issue Aug 18, 2021
friedmud added a commit to friedmud/moose that referenced this issue Aug 20, 2021
friedmud added a commit to friedmud/moose that referenced this issue Sep 2, 2021
friedmud added a commit to friedmud/moose that referenced this issue Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.
Projects
None yet
2 participants