up previous next
time elapsed since a given moment
TimeFrom(StartPoint: RAT): STRING |
This function returns a string indicating the number of CPU seconds consumed
since
StartPoint
; the value in
StartPoint
should be the value produced
by the function
CpuTime
at the point where timing should commence.
/**/ t0 := CpuTime();
/**/ N := factorial(10000000);
/**/ PrintLn "Time to compute N: ",TimeFrom(t0);
Time to compute N: 7.538
|