I have used the macro @showprogress for displaying the progress of a long computation, which looks like the following:
@showprogress for i_S in 1:TB.N_S
IMPACT_Ang = S_GRID_local[i_S]
for i_X0 in 1:TB.N_X0
X0_Ang = X0_GRID[i_X0]
X[1:end, i_S, i_E, i_X0] = Verlet_integration_adaptive(...)
...
end
end
where Verlet_integration_adaptive() costs considerable amount of time, and this time may vary greatly, provided that the following confusing observation is reality. I have observed the following reports:
The third progress bar is an anomaly. The timing result Time: 0:01:50:33 differs greatly from other computations performed under similar settings. This abnormal timing could be true, saying that the computation costs 1 hour 50 minutes 33 seconds. Or, it could be a bug in the timing code that the actual cost is 1 minute 50 seconds plus some milliseconds.
My question is, can someone confirm to me that the @showprogress macro won't report time as the format xx:xx:xx:xx ?
I have used the macro
@showprogress
for displaying the progress of a long computation, which looks like the following:where
Verlet_integration_adaptive()
costs considerable amount of time, and this time may vary greatly, provided that the following confusing observation is reality. I have observed the following reports:The third progress bar is an anomaly. The timing result
Time: 0:01:50:33
differs greatly from other computations performed under similar settings. This abnormal timing could be true, saying that the computation costs 1 hour 50 minutes 33 seconds. Or, it could be a bug in the timing code that the actual cost is 1 minute 50 seconds plus some milliseconds.My question is, can someone confirm to me that the
@showprogress
macro won't report time as the formatxx:xx:xx:xx
?