Re: time

new topic     » goto parent     » topic index » view thread      » older message » newer message

when you run:

atom a, b, total
a = time()

-- do something

b = time()
total = b - a

then total equals the amount of time that alrorithm where the comment -- do
something took to execute.

i do not know the exact internals of the time() function but you dont have to
get it to work for you, you just have to make two calls to time() and subtract
the second call of time() from the first.

CenSe,
a member of the
ak-software
development team

http://ak-software.virtualave.net/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu