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:

Timer_info

Function: timer_info (<f_1>, ..., <f_n>)

f() := 2^200000;
timer_info(f);

Function: timer_info () Given functions <f_1>, ..., <f_n>, timer_info returns a matrix containing timing information for each function. With no arguments, timer_info returns timing information for all functions currently on the timer list.

The matrix returned by timer_info contains the function name, time per function call, number of function calls, total time, and gctime, which meant "garbage collection time" in the original Macsyma but is now always zero.

The data from which timer_info constructs its return value can also be obtained by the get function:

get(f, calls); get(f, runtime); get(f, gctime);

See also timer.

(%o1)                                true
(%i2) 

Related Examples

timer_info

f() := 2^200000;

timer_info(f);

Calculate

timer_info

? timer_info;

Calculate

timer_info

f() := 2^200000;

timer_info(f);

Calculate

timer_info

? timer_info;

Calculate