up previous next
TimeFrom    --    time elapsed since a given moment


Syntax
TimeFrom(StartPoint: RAT): STRING

Description
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.

Example
/**/  t0 := CpuTime();
/**/  N := factorial(10000000);
/**/  PrintLn "Time to compute N: ",TimeFrom(t0);
Time to compute N: 7.538