lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Hans,

On 12/31/10 2:22 PM, Hans van der Meer wrote:
print ("start",os.date())
-- doing some work
print("    Conversion took " .. os.difftime(os.clock(), timestart) .. " seconds")

I do not think this is a difference between actual computation time and clock time, the machine certainly is too powerfull to spent so much time in overhead.

It really depends on what you did in "-- doing some work", I'd guess you managed to spend some time 'outside the Lua process'.

Henning