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

Commit fee2c22

Browse files
sjoelundOpenModelica-Hudson
authored andcommitted
Enabled RT_CLOCK_BUILDMODEL for buildModelFMU
This makes the timing reported for buildModelFMU correct. Previously, all time was reported for the Susan stage.
1 parent ec5cb70 commit fee2c22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Compiler/Script/CevalScriptBackend.mo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3217,6 +3217,9 @@ algorithm
32173217
outValue := Values.STRING("");
32183218
return;
32193219
end try;
3220+
3221+
System.realtimeTick(ClockIndexes.RT_CLOCK_BUILD_MODEL);
3222+
32203223
isWindows := System.os() == "Windows_NT";
32213224
// compile
32223225
quote := if isWindows then "" else "'";

0 commit comments

Comments
 (0)