added more timing macros

This commit is contained in:
hnil
2023-03-21 22:44:14 +01:00
parent af30df5dff
commit 122a478341
4 changed files with 13 additions and 4 deletions

View File

@@ -183,6 +183,7 @@ namespace Opm {
void beginEpisode()
{
OPM_TIMEBLOCK(beginEpsiode);
beginReportStep(ebosSimulator_.episodeIndex());
}
@@ -190,6 +191,7 @@ namespace Opm {
void beginIteration()
{
OPM_TIMEBLOCK(beginIteration);
assemble(ebosSimulator_.model().newtonMethod().numIterations(),
ebosSimulator_.timeStepSize());
}
@@ -199,6 +201,7 @@ namespace Opm {
void endTimeStep()
{
OPM_TIMEBLOCK(endTimeStep);
timeStepSucceeded(ebosSimulator_.time(), ebosSimulator_.timeStepSize());
}

View File

@@ -237,6 +237,7 @@ namespace Opm {
BlackoilWellModel<TypeTag>::
beginTimeStep()
{
OPM_TIMEBLOCK(beginTimeStep);
updatePerforationIntensiveQuantities();
updateAverageFormationFactor();
DeferredLogger local_deferredLogger;