Commit ce09f662 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'savecomputingtime' into 'master'

Save total computing time into oo_

See merge request Dynare/preprocessor!32
parents ad22e628 c79ae5d4
......@@ -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)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment