![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Public Member Functions | |
| __init__ (self, model, analysis_folder, analysis_prefix) | |
| analysis_save (self, iplot) | |
| load_analysis (self) | |
| digest_perf_history (self) | |
| plot_perf_history (self, close_plots=True, figsize=(8, 5), dpi=200) | |
Public Attributes | |
| model | |
| analysis_prefix | |
| plot_prefix | |
| json_data_filename | |
| plot_filename | |
Analysis utility to report performance during the simulation as well as some metrics regarding walltime and step counts.
Definition at line 17 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.__init__ | ( | self, | |
| model, | |||
| analysis_folder, | |||
| analysis_prefix | |||
| ) |
Definition at line 22 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.analysis_save | ( | self, | |
| iplot | |||
| ) |
Definition at line 31 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.digest_perf_history | ( | self | ) |
Definition at line 69 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.load_analysis | ( | self | ) |
Definition at line 64 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.plot_perf_history | ( | self, | |
close_plots = True, |
|||
figsize = (8, 5), |
|||
dpi = 200 |
|||
| ) |
Definition at line 127 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.analysis_prefix |
Definition at line 25 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.json_data_filename |
Definition at line 28 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.model |
Definition at line 23 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.plot_filename |
Definition at line 29 of file PerfHistory.py.
| shamrock.utils.analysis.PerfHistory.PerfHistory.plot_prefix |
Definition at line 26 of file PerfHistory.py.