steve donovan wrote: > os.clock() is what you need - it's seconds since Lua started as a > floating-point number. os.clock() uses clock() from time.h which returns used processor time, not time since Lua started.