STYLE: use Time::printExecutionTime() method

- makes format of ExecutionTime = ... output configurable (#788)
  and reduces code clutter.
This commit is contained in:
Mark Olesen
2020-05-28 22:47:23 +02:00
parent 5eebe5050b
commit 45a05012c6
3 changed files with 3 additions and 9 deletions

View File

@ -64,9 +64,7 @@ int main(int argc, char *argv[])
}
}
Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
<< " ClockTime = " << runTime.elapsedClockTime() << " s"
<< nl << endl;
runTime.printExecutionTime(Info);
Info<< "End" << endl;