*get,wall1,active,,time,wall ! Start wall time
solve
*get,wall2,active,,time,wall ! End wall time
*msg,info,wl_solve,nint(100*wl_solve/60)/100,nint(100*wl_solve/3600)/100
%/Solving time: %g sec (%f min or %f hrs)
The solving time in seconds is wl_solve by nature.
The solving time in minutes is wl_solve/60. Since I wanted to have only 2 decimal places, I must multiply the result of wl_solve/60 with 100, take the integer part of the result and then divide by 100.
Example:
wl_solve = 215.2747 sec
wl_solve/60 = 3.5879125 min
100*wl_solve/60 = 358.79125
nint(100*wl_solve/60) = 359
nint(100*wl_solve/60)/100 = 3.59 min