Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Elapsed_run_time Calculator

Elapsed_run_time

Function: elapsed_run_time () Returns an estimate of the number of seconds (including fractions of a second) which Maxima has spent in computations since Maxima was most recently started or restarted. The return value is a floating-point number.

set_random_state(make_random_state(true));
set_random_state(make_random_state(false));
random(10);
elapsed_run_time ();

See also absolute_real_time and elapsed_real_time.

Example:

          (%i1) elapsed_run_time ();
          (%o1)                         0.04
          (%i2) expand ((a + b)^500)$
          (%i3) elapsed_run_time ();
          (%o3)                         1.26

(%o1)                                true
(%i2) 

Elapsed_run_time Example

Related Examples

time

time(x,y,z);

Calculate

time

time(1,2,3);

Calculate

time

m1: 60/5.5;

m2: 60/6.0;

m3: 60*0.75/6.6;

Calculate

time

time(1,2,3);

Calculate

time

m1: 60/5.5;

m2: 60/6.0;

m3: 60*0.75/6.6;

Calculate

elapsed_run_time-false-make_random_state-set_random_state-time-true

set_random_state(make...

set_random_state(make...

random(10);

Calculate

time

m1: 60/5.5;

m2: 60/6.0;

m3: 60*0.75/6.6;

Calculate

time

time(1,2,3);

Calculate