@@ -109,11 +109,11 @@ The ***TraceDQL*** query is as follows:
Finally, after defining the two fundamental queries needed to compute the simulation duration, we can create a ***TraceDQL*** data block named ***SD*** (***Simulation Duration***), which is calculated by subtracting the result of the ***start_time_captured*** block from the ***last_time_captured*** block. This can be written as follows:
Note that the ***Source*** instruction is optional in this case. We can simply use the ***Selection*** instruction to retrieve the ***currentTime*** values from the execution trace and then select either the first or the last one.