PrintDuration.Rd
Print duration in human readable format.
PrintDuration(t, CallingFct = "")
Duration; numeric
of length
1 or 3.
Name of the calling function.
The duration will be printed in the format: hours/minutes/seconds.
Prints a character
to the screen.
ti <- getTime_()
for (i in 1:100) x = i*22.1
tf <- getTime_()
duration <- ComputeDuration(ti, tf)
PrintDuration(duration, "test")
#> [1] "test :duration= 0 h, 0 min, 0 sec. "