From c79ae5d4bd6d130026fbb6f1dee69a046eab71b6 Mon Sep 17 00:00:00 2001 From: Willi Mutschler <willi@mutschler.eu> Date: Thu, 28 Jan 2021 11:28:28 +0100 Subject: [PATCH] Save 'Total computing time' into oo_.time --- src/ModFile.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ModFile.cc b/src/ModFile.cc index 4b5814bf..123a1765 100644 --- a/src/ModFile.cc +++ b/src/ModFile.cc @@ -1093,7 +1093,8 @@ ModFile::writeMOutput(const string &basename, bool clear_all, bool clear_global, if (!notime) mOutputFile << endl << endl - << "disp(['Total computing time : ' dynsec2hms(toc(tic0)) ]);" << endl; + << "oo_.time = toc(tic0);" << endl + << "disp(['Total computing time : ' dynsec2hms(oo_.time) ]);" << endl; if (!no_warn) { -- GitLab