
time - measures execution time

Calling sequence:
time(expr)
time()

Parameter:

expr   --  expression

Summary:

time(expr) evaluates the expression expr and returns the CPU time needed.
time() returns the total CPU time passed since starting the MuPAD session.
The time is given in milliseconds.

On some types of computer (those that do not have "time-sharing\), e.g. the
Macintosh, the CPU time is equal to the real time. The times for input and
output are also included in the complete time. time is a kernel function.

>>  time((a := isprime(1234567891))), a;

     10, TRUE

See also:  bytes , rtime

