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_real_time Calculator

Elapsed_real_time

Function: elapsed_real_time () Returns the number of seconds (including fractions of a second) 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_real_time ();

See also absolute_real_time and elapsed_run_time.

Example:

          (%i1) elapsed_real_time ();
          (%o1)                       2.559324
          (%i2) expand ((a + b)^500)$
          (%i3) elapsed_real_time ();
          (%o3)                       7.552087

(%o1)                                true
(%i2) 

Elapsed_real_time Example

Related Examples

time

? isolate_wrt_time;

Calculate

time

time(1,2,3);

Calculate

time

m1: 60/5.5;

m2: 60/6.0;

m3: 60*0.75/6.6;

Calculate

time

m1: 60/5.5;

m2: 60/6.0;

m3: 60*0.75/6.6;

Calculate

elapsed_real_time-false-make_random_state-set_random_state-time-true

set_random_state(make...

set_random_state(make...

random(10);

Calculate

time

time(1,2,3);

Calculate