Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Enabled RT_CLOCK_BUILDMODEL for buildModelFMU
Browse files Browse the repository at this point in the history
This makes the timing reported for buildModelFMU correct.
Previously, all time was reported for the Susan stage.
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Sep 28, 2017
1 parent d39727c commit f99f612
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Compiler/Script/CevalScriptBackend.mo
Original file line number Diff line number Diff line change
Expand Up @@ -3217,6 +3217,9 @@ algorithm
outValue := Values.STRING("");
return;
end try;

System.realtimeTick(ClockIndexes.RT_CLOCK_BUILD_MODEL);

isWindows := System.os() == "Windows_NT";
// compile
quote := if isWindows then "" else "'";
Expand Down

0 comments on commit f99f612

Please sign in to comment.