Save 'Total computing time' into oo_.time

issue#70
Willi Mutschler 2021-01-28 11:28:28 +01:00
parent ad22e62874
commit c79ae5d4bd
No known key found for this signature in database
GPG Key ID: 91E724BF17A73F6D
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{