Repository navigation
Commit dfeeafd
authored
Count each runner's simulation time separately (#333)
A model built once and simulated several ways - an FMU handed to
several tools, or a wasm artifact run as a simulation, as FMI 3.0
ME and as CS - wrote the same exectime into every one of its
branch tables, because exectime is the wall clock of the whole
run of the model. The overview therefore gave wasm-jit,
wasm-jit-me and wasm-jit-cs one identical execution time that was
really all three of them added together.
Only the simulation and the verification differ between the
runners; everything up to the build is shared. Each runner now
reports the shared part plus what it alone simulated and
verified. testmodel.py records a simwall beside sim for that
subtraction: sim is what the tool says it spent, which for the
artifact runners is omc's timeSimulation and leaves out the
loading around it, and that overhead would otherwise land in the
shared part and be counted once per runner.
The overview's branch table also gains a simulation time and a
number of verified models, so the two figures that differ between
runners of the same artifact can be read directly:
| Branch | Version | Build time | Execution time | Simulation time | # Simulate | # Verify | # Total |
| --- | --- | --- | --- | --- | --- | --- | --- |
Rows already in the database keep the exectime they were written
with; the new columns are correct for them, since simulate and
finalphase have always been per runner.
Assisted-by: Claude Opus 5 (1M context)1 parent cdb2be5 commit dfeeafd
4 files changed
Lines changed: 38 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| 82 | + | |
80 | 83 | | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| 152 | + | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
151 | | - | |
| 157 | + | |
152 | 158 | | |
153 | | - | |
| 159 | + | |
154 | 160 | | |
155 | 161 | | |
| 162 | + | |
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
994 | 1014 | | |
995 | 1015 | | |
996 | 1016 | | |
| |||
1005 | 1025 | | |
1006 | 1026 | | |
1007 | 1027 | | |
1008 | | - | |
| 1028 | + | |
1009 | 1029 | | |
1010 | 1030 | | |
1011 | 1031 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| |||
779 | 780 | | |
780 | 781 | | |
781 | 782 | | |
| 783 | + | |
782 | 784 | | |
783 | 785 | | |
784 | 786 | | |
| 787 | + | |
785 | 788 | | |
786 | 789 | | |
787 | 790 | | |
| |||
917 | 920 | | |
918 | 921 | | |
919 | 922 | | |
920 | | - | |
| 923 | + | |
921 | 924 | | |
922 | 925 | | |
923 | 926 | | |
| |||
926 | 929 | | |
927 | 930 | | |
928 | 931 | | |
| 932 | + | |
929 | 933 | | |
930 | 934 | | |
931 | 935 | | |
932 | 936 | | |
933 | 937 | | |
934 | 938 | | |
| 939 | + | |
935 | 940 | | |
936 | 941 | | |
937 | 942 | | |
938 | 943 | | |
| 944 | + | |
939 | 945 | | |
940 | 946 | | |
941 | 947 | | |
| |||
0 commit comments