start the execution timer when creating the eWoms simulator object

this provides accurate performance timings from within eWoms
code. For example, this is useful for output of TCPU.
This commit is contained in:
Tor Harald Sandve 2018-08-16 11:51:36 +02:00
parent 8f62670c1e
commit 19622dab57

View File

@ -437,6 +437,7 @@ namespace Opm
void setupEbosSimulator()
{
ebosSimulator_.reset(new EbosSimulator(/*verbose=*/false));
ebosSimulator_->executionTimer().start();
ebosSimulator_->model().applyInitialSolution();
try {