Modula-2 || Compiler & Tools || Library || Search Engine
CONST UnitsPerSecond = 100;
PROCEDURE RealTime(reset: BOOLEAN): CARDINAL; PROCEDURE CPUTime (reset: BOOLEAN): CARDINAL;
RealTime and CPUTime return the real, resp. CPU time in units elapsed since the start of the current process or since the last call with argument TRUE. They work independently from each other. Note that after each MAX(CARDINAL) units a wrap-around will happen.
Modula-2 || Compiler & Tools || Library || Search Engine