diff --git a/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp b/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp index 96309c0ef8..dc9c5f5443 100644 --- a/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp +++ b/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp @@ -741,7 +741,9 @@ void RifReaderOpmCommon::setupInitAndRestartAccess() { try { + RiaLogging::resetTimer( "Starting import of meta data from " + QString::fromStdString( m_restartFileName ) ); m_restartFile = std::make_unique( m_restartFileName ); + RiaLogging::logTimeElapsed( "Completed import of meta data" ); } catch ( ... ) { @@ -890,6 +892,8 @@ void RifReaderOpmCommon::buildMetaData( RigEclipseCaseData* eclipseCaseData, caf auto task = progress.task( "Handling well information", 10 ); if ( loadWellDataEnabled() && !m_restartFileName.empty() ) { + RiaLogging::resetTimer( "Start import of simulation well data" ); + auto restartAccess = std::make_unique(); restartAccess->setRestartFiles( QStringList( QString::fromStdString( m_restartFileName ) ) ); restartAccess->open(); @@ -907,6 +911,8 @@ void RifReaderOpmCommon::buildMetaData( RigEclipseCaseData* eclipseCaseData, caf isImportOfCompleteMswDataEnabled() ); restartAccess->close(); + + RiaLogging::logTimeElapsed( "Completed import of simulation well data" ); } else {